feat(pre-commit): add lint for commit messages

This commit is contained in:
thek4n 2026-02-21 10:48:05 +03:00
parent 91711c9e07
commit b277c95ba8

View File

@ -13,6 +13,15 @@ repos:
- id: check-shebang-scripts-are-executable - id: check-shebang-scripts-are-executable
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- id: gitlint
args: [
"--ignore", "body-is-missing", "--contrib=CT1", "--msg-filename"
]
stages: [commit-msg]
- repo: local - repo: local
hooks: hooks:
- id: clippy - id: clippy