generated from duanshuwen/webapp-vue-frontend
Initial commit
This commit is contained in:
22
commitlint.config.js
Normal file
22
commitlint.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* feat:新功能
|
||||
* fix:修补bug
|
||||
* refactor:重构某个功能
|
||||
* revert: 回滚到上一个版本
|
||||
* style:仅样式改动
|
||||
* docs:仅文档新增/改动
|
||||
* chore:构建过程或辅助工具的变动
|
||||
*/
|
||||
module.exports = {
|
||||
extends: [
|
||||
// 直接继承官网规则
|
||||
'@commitlint/config-conventional'
|
||||
],
|
||||
rules: {
|
||||
'type-enum': [
|
||||
2,
|
||||
'always',
|
||||
['feat', 'fix', 'refactor', 'revert', 'style', 'docs', 'chore']
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user