diff options
| author | seth <[email protected]> | 2024-07-06 04:10:27 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-06 04:10:27 -0400 |
| commit | cdb32dbd1810fbafc3b80bf6693e0f8dcf81b2c2 (patch) | |
| tree | 6e580008869ef4cd64f619f8740712c42e5d50b1 /treefmt.nix | |
| parent | c61a7b372a1ec99ec8d490c7f96df3a25a5c2281 (diff) | |
tree-wide: start using treefmt (#17)
* nix: alejandra -> nixfmt
* nix: simplify flake
* nix: drop flake-checks
* tree-wide: start using treefmt
Diffstat (limited to 'treefmt.nix')
| -rw-r--r-- | treefmt.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/treefmt.nix b/treefmt.nix new file mode 100644 index 0000000..f3dcaac --- /dev/null +++ b/treefmt.nix @@ -0,0 +1,12 @@ +{ + projectRootFile = ".git/config"; + + # TODO: add actionlint + # https://github.com/numtide/treefmt-nix/pull/146 + programs = { + deadnix.enable = true; + nixfmt-rfc-style.enable = true; + rustfmt.enable = true; + statix.enable = true; + }; +} |
