layui/commitlint.config.js
dingyongya befd0985dc feat: commitlint 集成
commitlint 集成测试

BREAKING CHANGE: 新增 commitlint.config.js .husky 文件

#I4O3H0
2022-02-16 15:53:40 +08:00

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'
]
],
},
};