Skip to content

Commit 0105103

Browse files
committed
ci: set the body-max-line-length rule in commitlint as a warning rather than an error
1 parent 0a0b0de commit 0105103

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = {
22
extends: ['@commitlint/config-conventional'],
3+
ignores: [(message) => /^Bumps \[.+]\(.+\) from .+ to .+\.$/m.test(message)],
34
rules: {
45
'body-max-line-length': [2, 'always', 140],
56
},

0 commit comments

Comments
 (0)