generated from linz/template-python-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlint
21 lines (16 loc) · 819 Bytes
/
.gitlint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Configuration file for gitlint, used via pre-commit
# Configuration docs: http://jorisroovers.github.io/gitlint/configuration/
# Default rules: https://github.com/jorisroovers/gitlint/blob/master/docs/rules.md
[general]
# Ignore certain rules, you can reference them by their id or by their full name
ignore=body-is-missing, body-max-line-length
# Enable community contributed rule for conventional commits
contrib=contrib-title-conventional-commits
[title-max-length]
line-length=72
# [title-match-regex]
# Uncomment to ensure that there is an issue referenced in every commit title
# regex=^.*?#[0-9]+\b.*?$
[contrib-title-conventional-commits]
# Specify allowed commit types. For details see: https://www.conventionalcommits.org/
types = build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test