From bb187bf9f46f68e35877a1a0c247ac7e1b9875a8 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; +} -- 2.45.2