-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy path.commitlintrc.yaml
More file actions
45 lines (40 loc) · 976 Bytes
/
.commitlintrc.yaml
File metadata and controls
45 lines (40 loc) · 976 Bytes
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
extends:
- "@commitlint/config-conventional"
# Single source of truth for commit/PR title conventions.
# Used by:
# - .pre-commit-config.yaml (commitlint hook on commit-msg)
# - .github/workflows/lint_pr.yml (validates PR titles in CI)
rules:
type-enum:
- 2
- always
- - feat
- fix
- docs
- style
- refactor
- perf
- test
- build
- ci
- chore
- revert
# Scope is optional — no enforcement on allowed values.
scope-empty:
- 0
# Feast convention: subjects start with an uppercase letter.
# Overrides base config which defaults to "never sentence-case".
subject-case:
- 2
- always
- - sentence-case
header-max-length:
- 2
- always
- 100
# Relax body/footer line length from base config's strict 100-char limit.
# Commit bodies often contain URLs, stack traces, or formatted output.
body-max-line-length:
- 0
footer-max-line-length:
- 0