summaryrefslogtreecommitdiffstats
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorMarek Ć uppa <mrshu@users.noreply.github.com>2020-10-18 11:47:40 +0200
committerGitHub <noreply@github.com>2020-10-18 11:47:40 +0200
commitd542b14cb5b2ee591d074230fe8df4f1b6c326d5 (patch)
treed5cdb6fec2efdfb963627d1555f0cc0ac7f65863 /docs/configuration.md
parent2ce3103cb7c118042d95b6e89c9ddd42362a9592 (diff)
New Rule: title-min-length (#140)
The title-min-length rule enforces a minimum length on commit titles. This closes #138
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 7b8fa8a..9f298b9 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -68,6 +68,11 @@ extra-path=examples/
[title-max-length]
line-length=80
+# Conversely, you can also enforce minimal length of a title with the
+# "title-min-length" rule:
+# [title-min-length]
+# min-length=5
+
[title-must-not-contain-word]
# Comma-separated 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"
@@ -449,4 +454,4 @@ GITLINT_STAGED=1 gitlint # using env variable
#.gitlint
[general]
staged=true
-``` \ No newline at end of file
+```