pre-commit: add 'nixpkgs-fmt' hook
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c52fabe4d9
commit
50123c9c0f
|
@ -10,3 +10,12 @@ repos:
|
||||||
rev: '2.1.4'
|
rev: '2.1.4'
|
||||||
hooks:
|
hooks:
|
||||||
- id: 'forbid-binary'
|
- id: 'forbid-binary'
|
||||||
|
- repo: 'local'
|
||||||
|
hooks:
|
||||||
|
- id: 'nixpkgs-fmt'
|
||||||
|
name: 'nixpkgs-fmt'
|
||||||
|
description: 'Format nix code with nixpkgs-fmt'
|
||||||
|
entry: 'nixpkgs-fmt'
|
||||||
|
language: 'system'
|
||||||
|
files: '\.nix$'
|
||||||
|
always_run: true
|
||||||
|
|
Loading…
Reference in a new issue