pre-commit: add more useful hooks

rocket-stable
Bruno BELANYI 2021-03-29 18:11:23 +00:00
parent 22232267e3
commit 8a655debae
1 changed files with 10 additions and 0 deletions

View File

@ -8,3 +8,13 @@ repos:
language: 'system'
files: '\.nix$'
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'