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
extends:
- "@commitlint/config-conventional"
rules:
# Types allowed - maps directly to release-plz changelog sections
type-enum:
- 2 # error
- always
- - feat # minor bump
- fix # patch bump
- perf # patch bump
- refactor # no bump (but included in changelog)
- docs # no bump
- chore # no bump (release-plz uses this for its own PRs)
- ci # no bump
- test # no bump
- build # no bump
- revert # no bump
# Enforce non-empty subject
subject-empty:
- 2
- never
# No period at end of subject line
subject-full-stop:
- 2
- never
- "."
# No case restriction - "add foo", "Add foo", "add OAuth support" all valid
subject-case:
- 0
# Max subject line length (GitHub shows ~72 chars)
header-max-length:
- 2
- always
- 72