-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.gitlint
28 lines (24 loc) · 1.13 KB
/
.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
# Documentation: https://jorisroovers.com/gitlint/configuration/
[general]
# Make body messages optional:
ignore=body-is-missing
# At this time, regex-style-search is disabled by default, but it will be
# enabled by default in the future. We already enable it here to avoid a
# warning message (our regular expressions are compatible with re.search()):
regex-style-search=true
# Don't ignore temporary commits (they can be useful for drafts but we shall
# not accidentally merge them (this is mainly important for our CI checks)):
ignore-fixup-commits=false
ignore-fixup-amend-commits=false
ignore-squash-commits=false
# Enable community contributed rules
# See http://jorisroovers.github.io/gitlint/contrib_rules for details
contrib=contrib-body-requires-signed-off-by,contrib-disallow-cleanup-commits
[ignore-by-author-name]
# Ignore certain rules for commits of which the author name matches a regex
# Match commits made by dependabot:
regex=(.*)dependabot(.*)
[ignore-body-lines]
# Ignore long hyperlinks (http and https). The URLs must start at the beginning
# of a line or use the Markdown format (e.g. "[10]: $URL"):
regex=^(\[[0-9]+\]: )?https?://