Skip to content

Commit 07fcca4

Browse files
author
Guillaume Gautreau
committed
ci: fix the commitlint config
1 parent 5e289c9 commit 07fcca4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

commitlint.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ if (isPushEvent) {
1414
}
1515

1616
module.exports = {
17-
extends: ['@commitlint/config-conventional'],
18-
'header-max-length': [1, 'always', maxLineLength],
19-
'body-max-line-length': [1, 'always', maxLineLength],
20-
'footer-max-line-length': [1, 'always', maxLineLength],
17+
extends: ['@commitlint/config-conventional'],
18+
rules: {
19+
'header-max-length': [1, 'always', maxLineLength],
20+
'body-max-line-length': [1, 'always', maxLineLength],
21+
'footer-max-line-length': [1, 'always', maxLineLength],
22+
}
2123
};

0 commit comments

Comments
 (0)