update treefmt configuration

This commit is contained in:
Jörg Thalheim 2024-07-15 10:54:23 +02:00
parent 9734eba858
commit a51bd670d6
4 changed files with 16 additions and 20 deletions

View file

@ -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" ];
};
};
};
}