Skip to content

Commit

Permalink
Sync gitlint config with other repos
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Feb 5, 2024
1 parent d9d1309 commit 4b05f88
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .gitlint
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
# gitlint configuration.

# For more information, see:
# https://jorisroovers.com/gitlint/configuration/.

[general]
verbosity = 2
ignore-merge-commits=true
ignore-fixup-commits=false
ignore-squash-commits=false
ignore=body-is-missing
contrib=contrib-disallow-cleanup-commits

[title-max-length]
line-length=80

[title-match-regex]
regex=^(breaks|fix|feat|other|deps)(\(\w*\))?:.*$
line-length=72

[body-max-line-length]
line-length=80

[body-min-length]
min-length=20

[title-must-not-contain-word]
words=wip

[ignore-by-author-name]
# Ignore specific line length rules for Dependabot commits.
regex=dependabot
ignore=title-max-length,body-max-line-length

0 comments on commit 4b05f88

Please sign in to comment.