docs/treefmt.nix
dfh c740e1a665 This is dfh@ playing with jj
These are some more descriptions.
2024-09-04 22:03:02 +00:00

25 lines
415 B
Nix

_: {
# Used to find the project root
projectRootFile = "flake.nix";
# Files not to format.
settings.global.excludes = [
".editorconfig"
".jj/**"
"LICENSE"
];
# nix
programs.nixfmt-rfc-style.enable = true;
programs.statix.enable = true;
programs.deadnix.enable = true;
# markdown
programs.prettier = {
enable = true;
settings = {
editorconfig = true;
};
};
}