From 1b8f5e3f791d09c0d63692953e69fde4d79446a3 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Mon, 10 Jan 2022 11:51:52 +0100 Subject: [PATCH] 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 --- .gitlint | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlint b/.gitlint index 851fd915d38..b8d25ce49b9 100644 --- a/.gitlint +++ b/.gitlint @@ -4,7 +4,10 @@ ignore=title-trailing-punctuation, T3, title-max-length, T1, body-hard-tab, B3, # verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this verbosity = 3 # By default gitlint will ignore merge commits. Set to 'false' to disable. -ignore-merge-commits=true +ignore-merge-commits=false +ignore-revert-commits=false +ignore-fixup-commits=false +ignore-squash-commits=false # Enable debug mode (prints more output). Disabled by default debug = false