mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
update treefmt configuration
This commit is contained in:
parent
9734eba858
commit
a51bd670d6
4 changed files with 16 additions and 20 deletions
13
treefmt.nix
13
treefmt.nix
|
|
@ -18,16 +18,13 @@
|
|||
shellcheck.enable = true;
|
||||
shfmt.enable = true;
|
||||
statix.enable = true;
|
||||
yamlfmt.enable = true;
|
||||
};
|
||||
|
||||
settings.formatter =
|
||||
let
|
||||
shellIncludes = [ "*.sh" "direnvrc" ];
|
||||
in
|
||||
{
|
||||
shellcheck.includes = shellIncludes;
|
||||
shfmt.includes = shellIncludes;
|
||||
};
|
||||
settings.formatter = {
|
||||
shellcheck.includes = [ "direnvrc" ];
|
||||
shfmt.includes = [ "direnvrc" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue