From a46d2ad16923d760d651b139a94666f171dcac44 Mon Sep 17 00:00:00 2001 From: Denis Natusch Date: Tue, 28 Nov 2023 16:22:47 +0100 Subject: [PATCH] Refuse pound sign in commit message title Closes #70 Co-authored-by: Simon Bruder --- .gitlint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlint b/.gitlint index 5cf32f6..ac463c4 100644 --- a/.gitlint +++ b/.gitlint @@ -8,8 +8,9 @@ ignore=body-is-missing,body-min-length line-length=80 # Every message must start with an upper case letter +# and does not contain “#” [title-match-regex] -regex=^[A-Z] +regex=^[A-Z][^#]*$ [ignore-by-title] regex=^(amend|fixup|squash).*