From 2f1880642532748c0c9c538be126531f85f4d2b1 Mon Sep 17 00:00:00 2001 From: dfh Date: Thu, 1 Aug 2024 17:01:02 +0000 Subject: [PATCH] fix: Add missing treefmt.nix Fixes commit 0ef0d4652a, file was missing and tests failed https://builds.auxolotl.org/#/builders/35/builds/1 --- treefmt.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 treefmt.nix diff --git a/treefmt.nix b/treefmt.nix new file mode 100644 index 0000000..e96f245 --- /dev/null +++ b/treefmt.nix @@ -0,0 +1,15 @@ +_: { + # Used to find the project root + projectRootFile = "flake.nix"; + + # Files not to format. + settings.global.excludes = [ "LICENSE" ]; + + # nix + programs.nixfmt.enable = true; # As of 2024-07-30 this is nixfmt-rfc-style. + programs.statix.enable = true; + programs.deadnix.enable = true; + + # markdown + programs.prettier.enable = true; +}