aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorrebecca “wiggles” turner <rbt@sent.as>2024-04-03 00:09:09 +0000
committerGerrit Code Review <gerrit@lix>2024-04-03 00:09:09 +0000
commit56c7dfd65290dea957de6fad4e2df26f1630e407 (patch)
tree94423d1f92d5526d50661f85a65dad0a05d1496d /flake.nix
parentfa4a0fc6a4bef9c9bbf5e66894aadb1cb2e7ddc7 (diff)
parent655dae03deaba8b74076230119b211ca19757b5d (diff)
Merge "Add `treefmt` `pre-commit` hook" into main
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 35d0509f9..0f64050f4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -329,6 +329,10 @@
stages = [ "commit" ];
excludes = [ "^tests/functional/lang/" ];
};
+ treefmt = {
+ enable = true;
+ settings.formatters = [ ];
+ };
};
}) pre-commit-hooks.lib;
};