fix: Add missing treefmt.nix
Some checks failed
buildbot/nix-build .#checks.x86_64-linux.formatting Build done.
buildbot/nix-eval Build done.

Fixes commit 0ef0d4652a, file was missing and tests failed
https://builds.auxolotl.org/#/builders/35/builds/1
This commit is contained in:
dfh 2024-08-01 17:01:02 +00:00
parent 0ef0d4652a
commit bb187bf9f4

15
treefmt.nix Normal file
View file

@ -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;
}