From 2492aa98defcd57b59b74d14a0fa06529fc77f6f Mon Sep 17 00:00:00 2001 From: nydragon Date: Fri, 4 Apr 2025 22:53:59 +0200 Subject: [PATCH] chore(pre-commit): run formatting last --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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]