Skip to content

Commit

Permalink
fix: add commitlint type archive
Browse files Browse the repository at this point in the history
  • Loading branch information
ChelesteWang committed Jun 14, 2021
1 parent 8eb9d18 commit 4050b3c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
'archive',
],
],
},
};

0 comments on commit 4050b3c

Please sign in to comment.