-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitlint
More file actions
24 lines (21 loc) · 891 Bytes
/
.gitlint
File metadata and controls
24 lines (21 loc) · 891 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
# .gitlint — commit message lint rules
#
# Enforces the commit format defined in .claude/rules/git-commit.md:
# - Subject ≤ 50 chars (imperative mood is policy-only — not machine-checked)
# - Blank line before body (when body present)
# - No WIP/fixup/squash/amend commits (local enforcement only — runs at
# commit-msg stage; CI skips this hook per ci.skip in .pre-commit-config.yaml)
#
# Rules ignored:
# B1 body-max-line-length — bullets are intentionally long (no line wrapping per git-commit.md)
# B3 body-hard-tab — tabs in body are allowed
# B5 body-min-length — not applicable
# B6 body-is-missing — subject-only commits are explicitly allowed
[general]
ignore=B1,B3,B5,B6
ignore-fixup-commits=false
ignore-squash-commits=false
[title-max-length]
line-length=50
[title-must-not-contain-word]
words=wip,fixup,squash,amend