Skip to content

Commit f00c8bb

Browse files
authored
ci: consider commit linting errors about length as warnings (#619)
1 parent 321bed9 commit f00c8bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commitlint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ if (isPushEvent) {
1616
module.exports = {
1717
extends: ['@commitlint/config-conventional'],
1818
rules: {
19-
'header-max-length': [2, 'always', maxLineLength],
20-
'body-max-line-length': [2, 'always', maxLineLength],
21-
'footer-max-line-length': [2, 'always', maxLineLength],
19+
'header-max-length': [1, 'always', maxLineLength],
20+
'body-max-line-length': [1, 'always', maxLineLength],
21+
'footer-max-line-length': [1, 'always', maxLineLength],
2222
},
2323
};

0 commit comments

Comments
 (0)