pre-commit: add more useful hooks
This commit is contained in:
parent
44ae16b948
commit
b4f6735b31
|
@ -8,3 +8,13 @@ repos:
|
||||||
language: 'system'
|
language: 'system'
|
||||||
files: '\.nix$'
|
files: '\.nix$'
|
||||||
always_run: true
|
always_run: true
|
||||||
|
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
|
||||||
|
rev: 'v2.3.0'
|
||||||
|
hooks:
|
||||||
|
- id: 'trailing-whitespace'
|
||||||
|
- id: 'end-of-file-fixer'
|
||||||
|
- id: 'check-yaml'
|
||||||
|
- repo: 'https://github.com/jumanjihouse/pre-commit-hooks'
|
||||||
|
rev: '2.1.4'
|
||||||
|
hooks:
|
||||||
|
- id: 'forbid-binary'
|
||||||
|
|
Loading…
Reference in a new issue