summaryrefslogtreecommitdiffstats
path: root/.gitlint
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-12-08 18:32:33 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-08 18:32:33 +0000
commit7c408e1a9fcd8e4f03b449b88605c3c70a5fc957 (patch)
tree5f1042ede0de68bd652b0e0f8376d6c87a415db4 /.gitlint
parentcb74883279f949330c02e05a13385bd8867803c4 (diff)
parent3c393e59b60734b4a1c163eb3e175507a32519ad (diff)
Merge "[COMMON] Add git commit linting"
Diffstat (limited to '.gitlint')
-rw-r--r--.gitlint13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlint b/.gitlint
new file mode 100644
index 0000000000..9f3a51d8a0
--- /dev/null
+++ b/.gitlint
@@ -0,0 +1,13 @@
+[title-match-regex]
+regex=^\[[A-Z0-9]+]\[*[A-Z0-9]*]* [A-Z]+[\S ]*$
+
+[body-match-regex]
+regex=.{20,}
+
+[ignore-by-title]
+regex=^Release(.*)
+ignore=title-match-regex,body-min-length
+
+[ignore-body-lines]
+regex=^(Issue-ID|Signed-off-by|Change-Id|Reported-by|Depends-on|Co-authored-by|Fixes|Acked-by|Reviewed-by|CC)
+