Skip to content

Commit 8906397

Browse files
committed
fix: turn of body-max-line-length commitlint rule
1 parent 0b1c048 commit 8906397

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.commitlintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
rules: {
66
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
77
'header-max-length': [2, 'always', 80],
8-
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
8+
'subject-case': [0],
9+
'body-max-line-length': [0],
910
},
1011
}

lib/content/commitlintrc-js.hbs

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
rules: {
44
'type-enum': [2, 'always', [{{{ join (quote (pluck changelogTypes "type")) }}}]],
55
'header-max-length': [2, 'always', 80],
6-
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
6+
'subject-case': [0],
7+
'body-max-line-length': [0],
78
},
89
}

tap-snapshots/test/apply/source-snapshots.js.test.cjs

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ module.exports = {
1515
rules: {
1616
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
1717
'header-max-length': [2, 'always', 80],
18-
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
18+
'subject-case': [0],
19+
'body-max-line-length': [0],
1920
},
2021
}
2122
@@ -1448,7 +1449,8 @@ module.exports = {
14481449
rules: {
14491450
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
14501451
'header-max-length': [2, 'always', 80],
1451-
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
1452+
'subject-case': [0],
1453+
'body-max-line-length': [0],
14521454
},
14531455
}
14541456

0 commit comments

Comments
 (0)