befd0985dc
commitlint 集成测试 BREAKING CHANGE: 新增 commitlint.config.js .husky 文件 #I4O3H0
22 lines
328 B
JavaScript
22 lines
328 B
JavaScript
module.exports = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
rules: {
|
|
"type-enum": [2,
|
|
"always",
|
|
[
|
|
'build',
|
|
'chore',
|
|
'ci',
|
|
'docs',
|
|
'feat',
|
|
'fix',
|
|
'perf',
|
|
'refactor',
|
|
'revert',
|
|
'style',
|
|
'test'
|
|
]
|
|
],
|
|
},
|
|
};
|