-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlint
36 lines (26 loc) · 873 Bytes
/
.gitlint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[general]
ignore=body-is-missing
# compatibility with future default
regex-style-search=true
# Adding contrib rules to [general] enables them, contrib config is not enough.
contrib = contrib-title-conventional-commits
# TODO: add contrib-body-requires-signed-off-by
[contrib-title-conventional-commits]
# Same as default list but specified in alphabetical order
types = build,chore,ci,docs,feat,fix,perf,refactor,revert,style,test
[ignore-by-author-name]
# Ignore extra-long pre-commit.ci autoupdates
regex=^pre-commit-ci
ignore=body-max-line-length
[ignore-by-title]
# Ignore pre-commit.ci merge commits
regex=^Merge [0-9a-f]{40} into [0-9a-f]{40}$
ignore=body-is-missing,title-max-length,contrib-title-conventional-commits
[body-max-line-length]
line-length=140
[body-min-length]
min-length=10
[title-max-length]
line-length=72
[title-min-length]
min-length=10