feat: commitlint 集成
commitlint 集成测试 BREAKING CHANGE: 新增 commitlint.config.js .husky 文件 #I4O3H0
This commit is contained in:
21
commitlint.config.js
Normal file
21
commitlint.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
module.exports = {
|
||||
extends: ["@commitlint/config-conventional"],
|
||||
rules: {
|
||||
"type-enum": [2,
|
||||
"always",
|
||||
[
|
||||
'build',
|
||||
'chore',
|
||||
'ci',
|
||||
'docs',
|
||||
'feat',
|
||||
'fix',
|
||||
'perf',
|
||||
'refactor',
|
||||
'revert',
|
||||
'style',
|
||||
'test'
|
||||
]
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user