This commit is contained in:
parent
6d6a97e758
commit
2492aa98de
1 changed files with 7 additions and 7 deletions
|
@ -11,13 +11,6 @@ repos:
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: nix-fmt
|
|
||||||
name: Check nix formatting
|
|
||||||
entry: nix fmt
|
|
||||||
language: system
|
|
||||||
files: .*\.nix$
|
|
||||||
stages: [pre-commit]
|
|
||||||
|
|
||||||
- id: prettier
|
- id: prettier
|
||||||
name: Check css, scss, js, ts and yaml formatting
|
name: Check css, scss, js, ts and yaml formatting
|
||||||
entry: prettier
|
entry: prettier
|
||||||
|
@ -50,3 +43,10 @@ repos:
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
args: [fix]
|
args: [fix]
|
||||||
stages: [pre-commit]
|
stages: [pre-commit]
|
||||||
|
|
||||||
|
- id: nix-fmt
|
||||||
|
name: Check nix formatting
|
||||||
|
entry: nix fmt
|
||||||
|
language: system
|
||||||
|
files: .*\.nix$
|
||||||
|
stages: [pre-commit]
|
||||||
|
|
Loading…
Add table
Reference in a new issue