-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.commitlintrc.yaml
51 lines (50 loc) · 966 Bytes
/
.commitlintrc.yaml
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
51
rules:
body-leading-blank:
- 1
- always
body-max-line-length:
- 2
- always
- 96
footer-leading-blank:
- 1
- always
footer-max-line-length:
- 2
- always
- 96
header-max-length:
- 2
- always
- 72 # github hides text beyond this length behind an ellipsis
subject-case:
- 2
- always
- - lower-case
- kebab-case
- snake-case
subject-empty:
- 2
- never
subject-full-stop:
- 2
- never
- .
type-empty:
- 2
- never
# Semver commit type convention
#
# M (MAJOR) => Incompatible change
# m (MINOR) => Backward compatible feature
# p (PATCH) => Backward compatible bug fix
# r (REVISION/REFACTOR) => Backward compatible improvement
# x (MISCELLANEOUS) => Neutral change (documentation, ci/cd, dev dependencies, etc.)
type-enum:
- 2
- always
- - M
- m
- p
- r
- x