Skip to content

Commit

Permalink
refactor: commitlint 配置修改
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean-gao committed Apr 23, 2024
1 parent 30af41d commit 73fc4df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', [
"feat", "fix", "docs", "style", "refactor", "test", "chore", "revert", "release",
]],
},
};

0 comments on commit 73fc4df

Please sign in to comment.