-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.mjs
More file actions
21 lines (21 loc) · 911 Bytes
/
Copy pathcommitlint.config.mjs
File metadata and controls
21 lines (21 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export default {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
"feat", // new feature for the user, not a new feature for build script
"fix", // bug fix for the user
"docs", // changes to the documentation
"refactor", // refactoring production code, no user facing changes, no new features
"perf", // performance improvements
"test", // adding missing tests, refactoring tests; no production code change
"chore", // updating grunt tasks etc; no production code change
"build", // changes that affect the build system or external dependencies
"ci", // changes to our CI configuration files and scripts
"revert" // revert commits
]
]
}
}