Repository navigation
Commit 37326a7
committed
ci: relax commitlint scope-empty rule
Bare top-level types like `ci:` and `docs:` are valid Conventional
Commits subjects per the spec; the scope segment is optional. The
project's commitlint config previously required a scope on every
commit (`scope-empty: [2, never]`), which is stricter than the spec
and rejects perfectly conformant commit subjects. Demoting the rule
to level 0 (disabled) leaves the scope-enum allowlist enforced for
commits that DO declare a scope, while permitting bare-type subjects.
Signed-off-by: MicrosoftWindows96 <spam@zagrosi.com>1 parent 944bb9f commit 37326a7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments