Skip to content

Commit b8fafde

Browse files
committed
modules/hooks.nix: restore alphabetical order
1 parent 7570de7 commit b8fafde

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

modules/hooks.nix

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3462,15 +3462,6 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
34623462
);
34633463
files = "(\\.json$)|(\\.toml$)|(\\.mli?$)";
34643464
};
3465-
trim-trailing-whitespace =
3466-
{
3467-
name = "trim-trailing-whitespace";
3468-
description = "Trim trailing whitespace.";
3469-
types = [ "text" ];
3470-
stages = [ "commit" "push" "manual" ];
3471-
package = tools.pre-commit-hooks;
3472-
entry = "${hooks.trim-trailing-whitespace.package}/bin/trailing-whitespace-fixer";
3473-
};
34743465
treefmt =
34753466
let
34763467
inherit (hooks.treefmt) packageOverrides settings;
@@ -3496,6 +3487,15 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
34963487
packageOverrides = { treefmt = tools.treefmt; };
34973488
entry = "${hooks.treefmt.package}/bin/treefmt --fail-on-change";
34983489
};
3490+
trim-trailing-whitespace =
3491+
{
3492+
name = "trim-trailing-whitespace";
3493+
description = "Trim trailing whitespace.";
3494+
types = [ "text" ];
3495+
stages = [ "commit" "push" "manual" ];
3496+
package = tools.pre-commit-hooks;
3497+
entry = "${hooks.trim-trailing-whitespace.package}/bin/trailing-whitespace-fixer";
3498+
};
34993499
typos =
35003500
{
35013501
name = "typos";

0 commit comments

Comments
 (0)