Skip to content

Commit 65a9ec8

Browse files
committed
chore: commitlint allow release-please enums
1 parent e63ea11 commit 65a9ec8

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

commitlint.config.cjs

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
1-
module.exports = { extends: ['@commitlint/config-conventional'] };
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
ignores: [(message) => message.includes('Signed-off-by: dependabot[bot]')],
4+
rules: {
5+
'header-max-length': [2, 'always', 72],
6+
'body-max-line-length': [2, 'always', 72],
7+
'body-leading-blank': [2, 'always'],
8+
'type-enum': [
9+
2,
10+
'always',
11+
[
12+
'build',
13+
'chore',
14+
'ci',
15+
'deps',
16+
'docs',
17+
'feat',
18+
'fix',
19+
'perf',
20+
'refactor',
21+
'revert',
22+
'style',
23+
'test',
24+
],
25+
],
26+
},
27+
};

0 commit comments

Comments
 (0)