Skip to content

Commit b7cb75d

Browse files
authored
ci: update the commitlint rules (#8409)
1 parent 6c9b8aa commit b7cb75d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

commitlint.config.js

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
module.exports = {
2-
extends: ["@commitlint/config-conventional"],
3-
"type-enum": [
4-
2,
5-
"always",
6-
["chore", "docs", "feat", "fix", "refactor", "style", "test"],
7-
],
8-
"scope-empty": [2, "never"],
9-
};
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'type-enum': [
5+
2,
6+
'always',
7+
['feat', 'fix', 'docs', 'style', 'refactor', 'test', 'revert', 'perf', "ci", "build"],
8+
],
9+
},
10+
};

0 commit comments

Comments
 (0)