mirror of
https://github.com/eza-community/eza.git
synced 2025-07-07 19:35:33 +00:00
27 lines
674 B
Nix
27 lines
674 B
Nix
{
|
|
projectRootFile = "Cargo.toml";
|
|
programs = {
|
|
nixfmt.enable = true; # nix
|
|
statix.enable = true; # nix static analysis
|
|
deadnix.enable = true; # find dead nix code
|
|
rustfmt.enable = true; # rust
|
|
shellcheck.enable = true; # bash/shell
|
|
taplo.enable = true; # toml
|
|
yamlfmt.enable = true; # yaml
|
|
};
|
|
settings = {
|
|
formatter = {
|
|
shellcheck = {
|
|
includes = [
|
|
"*.sh"
|
|
"./completions/bash/eza"
|
|
];
|
|
excludes = [ ".envrc" ];
|
|
};
|
|
|
|
rustfmt.excludes = [ "src/options/flags.rs" ];
|
|
taplo.excludes = [ "tests/ptests/*.toml" ];
|
|
yamlfmt.excludes = [ "./powertest.yaml" ];
|
|
};
|
|
};
|
|
}
|