forked from freiheit-com/kuberpult
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.commitlintrc
36 lines (34 loc) · 1.41 KB
/
.commitlintrc
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
"rules": {
"body-leading-blank": [2, "always", ''],
"footer-leading-blank": [2, "always"],
"header-min-length": [2, "always", 10],
"subject-empty": [2, "never"],
"subject-min-length": [2, "always", 10],
"type-enum": [2, "always", ['fix', 'feat', 'chore', 'revert']],
"type-empty": [2, "never"],
"body-max-line-length": [1, "never", 80],
"header-max-length": [1, "always", 120],
"subject-max-length": [1, "always", 120],
"body-full-stop": [0, "always", ''],
"body-empty": [0, "never", ''],
"body-min-length": [0, "always", 0],
"body-case": [0, "always", 'lower-case'],
"footer-max-length": [0, "always", 0],
"footer-max-line-length": [1, "never", 80],
"footer-min-length": [0, "always", 0],
"header-case": [0, "always", 'lower-case'],
"header-full-stop": [0, "never", ''],
"scope-enum": [0, "always", ["", "CI", "deps"]],
"scope-case": [0, "always", 'lower-case'],
"scope-empty": [0, "never"],
"scope-max-length": [1, "always", 10],
"scope-min-length": [0, "always", 2],
"subject-case": [0, "always", 'lower-case'],
"subject-full-stop": [0, "never", ''],
"subject-exclamation-mark": [0, "never"],
"type-case": [0, "always", 'lower-case'],
"type-max-length": [0, "always", 120],
"type-min-length": [0, "always", 0],
"signed-off-by": [0, "always", 'Signed-off-by:'],
"trailer-exists": [0, "always", 'Signed-off-by:'],
}