mirror of
https://github.com/eza-community/eza.git
synced 2025-08-04 09:00:20 +00:00

The pre-commit-hooks now use the treefmt formatter list. The `toFilter` list is used to filer the formatters not supported by treefmt.
16 lines
482 B
Nix
16 lines
482 B
Nix
{
|
|
projectRootFile = "Cargo.toml";
|
|
programs = {
|
|
alejandra.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"];
|
|
formatter.rustfmt.excludes = ["src/options/flags.rs"];
|
|
};
|
|
}
|