Skip to content

Commit 61a4d25

Browse files
authored
fix(pr-checks): allow pascal-case and camel-case in commit messages (#353)
1 parent a9fc2fa commit 61a4d25

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

commitlint.config.cjs

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,11 @@ module.exports = {
22
extends: ['@commitlint/config-conventional'],
33
rules: {
44
'type-enum': [2, 'always', [
5-
'fix',
6-
'feat',
7-
'docs',
8-
'ci',
9-
'chore',
10-
'test',
11-
'refactor',
12-
'style',
13-
'perf',
14-
'build',
15-
'revert'
16-
]],
17-
'header-max-length': [2, 'always', 150]
5+
'fix', 'feat', 'docs', 'ci', 'chore', 'test', 'refactor', 'style', 'perf', 'build', 'revert',
6+
'Fix', 'Feat', 'Docs', 'Ci', 'Chore', 'Test', 'Refactor', 'Style', 'Perf', 'Build', 'Revert'
7+
]],
8+
'header-max-length': [2, 'always', 150],
9+
'subject-case': [0],
10+
'type-case': [0],
1811
}
1912
};

0 commit comments

Comments
 (0)