From ff2e907e91c8a6323a079bbc22709cd7328ff7cf Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 18 Dec 2022 10:15:14 +0100 Subject: gitlint: Do not allow cleanup commits Signed-off-by: Matthias Beyer --- .gitlint | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlint b/.gitlint index 1b98496..d0d8497 100644 --- a/.gitlint +++ b/.gitlint @@ -17,8 +17,8 @@ ignore=body-is-missing # By default gitlint will ignore merge, revert, fixup and squash commits. ignore-merge-commits=true # ignore-revert-commits=true -# ignore-fixup-commits=true -# ignore-squash-commits=true +ignore-fixup-commits=false +ignore-squash-commits=false # Ignore any data send to gitlint via stdin # ignore-stdin=true @@ -38,7 +38,7 @@ ignore-merge-commits=true # Enable community contributed rules # See http://jorisroovers.github.io/gitlint/contrib_rules for details -contrib=CC1 +contrib=CC1, CC2 # Set the extra-path where gitlint will search for user defined rules # See http://jorisroovers.github.io/gitlint/user_defined_rules for details @@ -134,4 +134,6 @@ regex=(.*)dependabot(.*) # types = bugfix,user-story,epic [contrib-body-requires-signed-off-by] +[contrib-disallow-cleanup-commits] + -- cgit v1.2.3