Skip to content

Commit ab737f6

Browse files
committed
gitlint: Stop ignoring merge, revert, fixup and squash commits
Some special commit types were being ignored by Gitlint, allowing commits that did not abide by our formatting rules to slip through the checks. Instead, enforce them on all commit types. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
1 parent 1f8f850 commit ab737f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitlint

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ ignore=title-trailing-punctuation, T3, title-max-length, T1, body-hard-tab, B3,
44
# verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this
55
verbosity = 3
66
# By default gitlint will ignore merge commits. Set to 'false' to disable.
7-
ignore-merge-commits=true
7+
ignore-merge-commits=false
8+
ignore-revert-commits=false
9+
ignore-fixup-commits=false
10+
ignore-squash-commits=false
811
# Enable debug mode (prints more output). Disabled by default
912
debug = false
1013

0 commit comments

Comments
 (0)