diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c60b4b9..e2f586b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,13 +11,6 @@ repos: - repo: local hooks: - - id: nix-fmt - name: Check nix formatting - entry: nix fmt - language: system - files: .*\.nix$ - stages: [pre-commit] - - id: prettier name: Check css, scss, js, ts and yaml formatting entry: prettier @@ -50,3 +43,10 @@ repos: pass_filenames: false args: [fix] stages: [pre-commit] + + - id: nix-fmt + name: Check nix formatting + entry: nix fmt + language: system + files: .*\.nix$ + stages: [pre-commit]