Skip to content

Commit 1b8f5e3

Browse files
carlescufinashif
authored andcommitted
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 <[email protected]>
1 parent 190c9ba commit 1b8f5e3

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)