-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommitlint.config.js
35 lines (35 loc) · 1.12 KB
/
commitlint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {
"type-enum": [
2,
"always",
[
// Changes that affect the build system or dependency-only changes
"build",
// Changes to CI workflows
"ci",
// Setup of dependencies
"deps",
// Documentation-only changes
"docs",
// A new feature
"feat",
//A bug fix
"fix",
// A code change that improves performance
"perf",
// A code change that neither fixes a bug nor adds a feature
"refactor",
// A commit that reverts a previous commit
"revert",
// Changes that do not affect the meaning of the code
"style",
// Adding missing tests or correcting existing tests
"test",
// Used for automated releases-only
"release",
],
],
},
};