Skip to content

Commit bae56c3

Browse files
chore(commitlint): relax body+footer max-line-length to warn-at-200 (#5)
Default '@commitlint/config-conventional' enforces 100-char max on body and footer lines as ERROR. This repeatedly trips Dependabot grouped bumps (whose autobody includes Markdown links that exceed 100 chars) and any propagated commit message that quotes URLs or paths. New rule: warn (level 1) at 200 chars instead of error at 100. Keeps some discipline against runaway lines without blocking merges on unavoidable URL references in auto-generated bodies. Header/subject length rules unchanged. Co-authored-by: cloudingenium-automation[bot] <277329096+cloudingenium-automation[bot]@users.noreply.github.com>
1 parent 33cb962 commit bae56c3

1 file changed

Lines changed: 35 additions & 5 deletions

File tree

.commitlintrc.json

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,43 @@
11
{
2-
"extends": ["@commitlint/config-conventional"],
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
],
35
"rules": {
46
"type-enum": [
57
2,
68
"always",
7-
["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore", "build", "ci", "revert"]
9+
[
10+
"feat",
11+
"fix",
12+
"docs",
13+
"style",
14+
"refactor",
15+
"perf",
16+
"test",
17+
"chore",
18+
"build",
19+
"ci",
20+
"revert"
21+
]
822
],
9-
"subject-case": [0, "always"],
10-
"header-max-length": [1, "always", 100]
23+
"subject-case": [
24+
0,
25+
"always"
26+
],
27+
"header-max-length": [
28+
1,
29+
"always",
30+
100
31+
],
32+
"body-max-line-length": [
33+
1,
34+
"always",
35+
200
36+
],
37+
"footer-max-line-length": [
38+
1,
39+
"always",
40+
200
41+
]
1142
}
1243
}
13-

0 commit comments

Comments
 (0)