eza/treefmt.nix
Sandro-Alessio Gierens f832d4623d fix(treefmt): add src/options/flags.rs to rustfmt.excludes
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-09-23 19:12:51 +02:00

16 lines
434 B
Nix

{
projectRootFile = "Cargo.toml";
programs = {
alejandra.enable = true; # nix
rustfmt.enable = true; # rust
shellcheck.enable = true; # bash/shell
deadnix.enable = true; # find dead nix code
taplo.enable = true; # toml
yamlfmt.enable = true; # yaml
};
settings = {
formatter.shellcheck.includes = ["*.sh" "./completions/bash/eza"];
formatter.rustfmt.excludes = ["src/options/flags.rs"];
};
}