summaryrefslogtreecommitdiff
path: root/treefmt.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-06 04:07:55 -0400
committerseth <[email protected]>2024-07-06 04:12:41 -0400
commit9a9a498d262a26e2bb8ae5e078022b7996c6263e (patch)
treef6f50aeb9c40fc866008ce918d7fa407f250678d /treefmt.nix
parentece1831de7c94357943b7a999acaf99b7fb80fb7 (diff)
tree-wide: start using treefmt
Diffstat (limited to 'treefmt.nix')
-rw-r--r--treefmt.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/treefmt.nix b/treefmt.nix
new file mode 100644
index 0000000..a02473d
--- /dev/null
+++ b/treefmt.nix
@@ -0,0 +1,11 @@
+{
+ projectRootFile = ".git/config";
+
+ # TODO: add actionlint
+ # https://github.com/numtide/treefmt-nix/pull/146
+ programs = {
+ deadnix.enable = true;
+ nixfmt-rfc-style.enable = true;
+ statix.enable = true;
+ };
+}