summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-12-18 10:15:14 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-12-18 11:13:22 +0100
commitff2e907e91c8a6323a079bbc22709cd7328ff7cf (patch)
tree565666212b02ac626a83fbc4592ae5daee8db474
parentf5af41b12e1c5b4c4edb6fa26fb5a20db38d971a (diff)
gitlint: Do not allow cleanup commits
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--.gitlint8
1 files 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]
+