build: update commitlint

This commit is contained in:
张传龙 2022-08-27 14:50:34 +08:00
parent 7ec078bd7a
commit 453148fc8d
2 changed files with 17 additions and 1 deletions

View File

@ -13,6 +13,7 @@ module.exports = {
{ value: 'revert', name:'revert: 回滚 commit' },
{ value: 'wip', name:'wip: 开发中' },
{ value: 'mod', name:'mod: 不确定分类的修改' },
{ value: 'release', name:'release: 发布' },
],
scopes: [
['custom', '自定义'],

View File

@ -5,7 +5,22 @@ module.exports = {
'type-enum': [
2,
'always',
['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert', 'wip', 'mod'],
[
'feat',
'fix',
'docs',
'style',
'refactor',
'perf',
'test',
'build',
'ci',
'chore',
'revert',
'wip',
'mod',
'release',
],
],
},
}