pre-commit: Add a hook to check whitespaces and conflict markers
The hook uses settings from `.gitattributes`.
This commit is contained in:
parent
2c06b9f429
commit
efa7c6aedf
@ -72,3 +72,9 @@ repos:
|
||||
)
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||
rev: 3.0.0
|
||||
hooks:
|
||||
- id: git-check
|
||||
pass_filenames: false
|
||||
|
Loading…
Reference in New Issue
Block a user