[COMMON] Allow '-' in commit topic 48/116348/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 14 Dec 2020 17:18:32 +0000 (18:18 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 14 Dec 2020 17:18:32 +0000 (18:18 +0100)
Some components may have `-` in their topic title. Thus it should be
allowed.
Second and other "topics" can now also use lower case letters.

Issue-ID: OOM-2648
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I0e12fdeac3788800755926aec3ffd425c87d6f98

.gitlint

index 9f3a51d..7368780 100644 (file)
--- a/.gitlint
+++ b/.gitlint
@@ -1,5 +1,5 @@
 [title-match-regex]
-regex=^\[[A-Z0-9]+]\[*[A-Z0-9]*]* [A-Z]+[\S ]*$
+regex=^\[[A-Z\d-]+]\[*[\w\d-]*]* [A-Z]+[\S ]*$
 
 [body-match-regex]
 regex=.{20,}