Skip to content

Commit

Permalink
fix: turn of body-max-line-length commitlint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 15, 2024
1 parent 0b1c048 commit 8906397
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .commitlintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
rules: {
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
'header-max-length': [2, 'always', 80],
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
'subject-case': [0],
'body-max-line-length': [0],
},
}
3 changes: 2 additions & 1 deletion lib/content/commitlintrc-js.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
rules: {
'type-enum': [2, 'always', [{{{ join (quote (pluck changelogTypes "type")) }}}]],
'header-max-length': [2, 'always', 80],
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
'subject-case': [0],
'body-max-line-length': [0],
},
}
6 changes: 4 additions & 2 deletions tap-snapshots/test/apply/source-snapshots.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = {
rules: {
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
'header-max-length': [2, 'always', 80],
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
'subject-case': [0],
'body-max-line-length': [0],
},
}
Expand Down Expand Up @@ -1448,7 +1449,8 @@ module.exports = {
rules: {
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
'header-max-length': [2, 'always', 80],
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
'subject-case': [0],
'body-max-line-length': [0],
},
}
Expand Down

0 comments on commit 8906397

Please sign in to comment.