-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcommitlint.config.cjs
More file actions
43 lines (43 loc) · 1.21 KB
/
Copy pathcommitlint.config.cjs
File metadata and controls
43 lines (43 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
// Type validated by config-conventional (feat, fix, chore, docs, refactor, perf, test, build, ci, revert, style).
// Scope is optional. When provided, must be kebab-case. Known scopes below are encouraged but not required
// (the rule level is `warning` = 1, so a non-listed scope is reported but does NOT block the commit).
"scope-case": [2, "always", "kebab-case"],
"scope-enum": [
1,
"always",
[
// Plugin scopes (long + short forms)
"aidd-context",
"aidd-dev",
"aidd-vcs",
"aidd-pm",
"aidd-refine",
"aidd-orchestrator",
"context",
"dev",
"vcs",
"pm",
"refine",
"orchestrator",
// Root scopes (touching marketplace.json or framework-wide config)
"framework",
"marketplace",
// Tooling & infra scopes
"release-please",
"ci",
"deps",
"lefthook",
"commitlint",
"contributing",
"docs",
"security",
"test",
],
],
"body-max-line-length": [0, "always"],
"footer-max-line-length": [0, "always"],
},
};