Skip to content

Commit

Permalink
fix(commit): fix commit config
Browse files Browse the repository at this point in the history
fix commit config
  • Loading branch information
zhangtengjin committed Oct 23, 2020
1 parent 884efdf commit 97e58eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ module.exports = {
extends: ['@commitlint/config-angular'],
'rules': {
'type-case': [2, 'always', 'lower-case'],
'scope-case': [0, 'always']
'scope-case': [0, 'always'],
'type-enum': [2, 'always', [
'feat', 'fix', 'improvement', 'refactor', 'docs', 'chore', 'style', 'revert',
'pref', 'test', 'build', 'ci'
]]
}
};

0 comments on commit 97e58eb

Please sign in to comment.