generated from Envoy-VC/turbo-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommitlint.config.ts
50 lines (50 loc) · 1.23 KB
/
commitlint.config.ts
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export default {
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",
// 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",
// Used for automated versioning-only
"version",
// Used for automated formatting-only
"format",
// Used for all other changes
"chore",
],
],
"scope-enum": [
2,
"always",
[
// Dependency-related changes
"deps",
// Websites-related changes
"web",
],
],
"scope-empty": [1, "never"],
},
};