swt23w23/.gitlint
Simon Bruder adb486bbb9
Add pre-commit hooks
This currently checks commit messages and editorconfig.
2023-11-14 19:22:27 +01:00

19 lines
357 B
Plaintext

[general]
regex-style-search=true
contrib=contrib-allowed-authors
ignore=body-is-missing
# While they should be ≤72, 80 is the limit
[title-max-length]
line-length=80
# Every message must start with an upper case letter
[title-match-regex]
regex=^[A-Z]
[ignore-by-title]
regex=^(amend|fixup|squash).*
ignore=title-max-length
[contrib-allowed-authors]