Skip to content

Commit 7f30dfc

Browse files
committed
ci: ⚙️ allow release commit type
1 parent 61a056f commit 7f30dfc

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

commitlint.config.js

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
module.exports = {
22
extends: ['@commitlint/config-angular'],
33
rules: {
4-
'scope-enum': [
4+
'scope-enum': [2, 'always', ['semver']],
5+
'type-enum': [
56
2,
67
'always',
7-
['semver']
8-
]
8+
[
9+
'build',
10+
'ci',
11+
'docs',
12+
'feat',
13+
'fix',
14+
'perf',
15+
'refactor',
16+
'revert',
17+
'style',
18+
'test',
19+
'release',
20+
],
21+
],
922
},
1023
};

0 commit comments

Comments
 (0)