feat(pre-commit): add lint for commit messages
This commit is contained in:
parent
91711c9e07
commit
b277c95ba8
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user