2023-07-29 16:23:14 +00:00
|
|
|
{
|
|
|
|
projectRootFile = "Cargo.toml";
|
|
|
|
programs = {
|
2023-09-18 21:22:43 +00:00
|
|
|
alejandra.enable = true; # nix
|
2023-11-04 11:39:32 +00:00
|
|
|
statix.enable = true; # nix static analysis
|
|
|
|
deadnix.enable = true; # find dead nix code
|
2023-09-18 21:22:43 +00:00
|
|
|
rustfmt.enable = true; # rust
|
|
|
|
shellcheck.enable = true; # bash/shell
|
|
|
|
taplo.enable = true; # toml
|
|
|
|
yamlfmt.enable = true; # yaml
|
2023-07-29 16:23:14 +00:00
|
|
|
};
|
2023-09-14 19:27:16 +00:00
|
|
|
settings = {
|
|
|
|
formatter = {
|
|
|
|
shellcheck.includes = ["*.sh" "./completions/bash/eza"];
|
2023-09-23 16:49:26 +00:00
|
|
|
rustfmt.excludes = ["src/options/flags.rs"];
|
2023-09-18 21:22:43 +00:00
|
|
|
taplo.excludes = ["tests/ptests/*.toml"];
|
2023-09-23 16:49:26 +00:00
|
|
|
yamlfmt.excludes = ["./powertest.yaml"];
|
2023-11-12 10:18:02 +00:00
|
|
|
};
|
2023-09-14 19:27:16 +00:00
|
|
|
};
|
2023-07-29 16:23:14 +00:00
|
|
|
}
|