2024-09-05 07:32:31 +02:00
|
|
|
# SPDX-FileCopyrightText: 2024 Christina Sørensen
|
|
|
|
# SPDX-FileContributor: Christina Sørensen
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
{
|
|
|
|
projectRootFile = "Cargo.toml";
|
|
|
|
programs = {
|
2024-09-11 08:56:51 +02:00
|
|
|
nixfmt.enable = true; # nix
|
2024-09-05 07:32:31 +02:00
|
|
|
statix.enable = true; # nix static analysis
|
|
|
|
deadnix.enable = true; # find dead nix code
|
|
|
|
rustfmt.enable = true; # rust
|
|
|
|
shellcheck.enable = true; # bash/shell
|
|
|
|
taplo.enable = false; # toml
|
|
|
|
yamlfmt.enable = true; # yaml
|
|
|
|
};
|
|
|
|
settings = {
|
|
|
|
formatter = {
|
|
|
|
shellcheck.excludes = [ ".envrc" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|