diff options
author | Joris Roovers <jroovers@cisco.com> | 2015-09-10 17:23:14 +0200 |
---|---|---|
committer | Joris Roovers <jroovers@cisco.com> | 2015-09-10 17:23:14 +0200 |
commit | 56e7d5eca282cf0e3096cd4ec08c1b6c1a854995 (patch) | |
tree | ce1d2458a90dfff58a6c74ddadb9a25b56538b26 /examples | |
parent | 414bdec5b6f3b1d078851dbf957efaa20f8eddcd (diff) |
'words' option for title-must-not-contain-word rule
The words that shouldn't be contained in the title as enforced by the
title-must-not-contain-word rule can now be specified in the config.
Additionally, multiple violations of the same rule can now occur on a
single line.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gitlint | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/gitlint b/examples/gitlint index 1c87db1..b99ee3b 100644 --- a/examples/gitlint +++ b/examples/gitlint @@ -1,6 +1,6 @@ [general] ignore=title-trailing-punctuation, T3 -# verbosity should be a value between 1 and 3 +# verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this verbosity = 2 [title-max-length] @@ -9,3 +9,9 @@ line-length=20 [B1] # B1 = body-max-line-length line-length=30 + +[title-must-not-contain-word] +# Comma-seperated list of words that should not occur in the title. Matching is case insensitive. +# It's fine if the keyword occurs as part of a larger word (so "WIPING" will not cause a violation, +# but "WIP: my title" will. +words=wip,title |