forked from eclipse-score/score
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlint
More file actions
31 lines (28 loc) · 1.08 KB
/
.gitlint
File metadata and controls
31 lines (28 loc) · 1.08 KB
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
# Available rules:
#
# T1: title-max-length
# T2: title-trailing-whitespace
# T3: title-trailing-punctuation (disabled)
# T4: title-hard-tab
# T5: title-must-not-contain-word (disabled)
# T6: title-leading-whitespace
# T7: title-match-regex
# B1: body-max-line-length (disabled: allows longer lines when needed, as this is just annoying post writing)
# B2: body-trailing-whitespace
# B3: body-hard-tab
# B4: body-first-line-empty
# B5: body-min-length (disabled)
# B6: body-is-missing (disabled: allow trivial commits without a body)
# B7: body-changed-file-mention (disabled)
#
# See http://jorisroovers.github.io/gitlint/rules/ for a full description of the rules.
# See https://eclipse-score.github.io/score/main/contribute/general/git.html for our commit message guidelines.
# Ignore some default rules and enable regex style searching
[general]
ignore=T3,T5,B1,B5,B6,B7
regex-style-search=true
# Maximum length of the title
[title-max-length]
line-length=72
# First line of the commit message body must be empty. (second line of the commit message)
[body-first-line-empty]