gitsnitch 0.4.5

Lints your Git commit history against a declarative ruleset
1
2
3
4
5
6
7
8
9
10
11
12
[[assertions]]
alias = "preset_forbid_wip"
description = "Disallow work-in-progress commit titles"
banner = "Commit title must not start with WIP."
hint = "Replace the WIP prefix with the actual change intent before committing."
severity = 60

[assertions.must_satisfy]
[assertions.must_satisfy.condition]
type = "msg_match_none"
mode = "title"
patterns = ["(?i)^\\s*wip\\b"]