Unify hook settings and fix warning #38

Merged
Gonne merged 1 commit from Gonne/nixConfig:statix into main 2024-08-18 20:02:00 +00:00
Showing only changes of commit 575343c844 - Show all commits

View file

@ -26,14 +26,15 @@
in { in {
check.enable = true; check.enable = true;
settings = { settings = {
# for some reason statix takes it config differently than all the other hooks.
settings.statix = {
format = "stderr";
ignore = generatedFiles;
};
hooks = { hooks = {
nil.enable = true; nil.enable = true;
statix.enable = true; statix = {
enable = true;
settings = {
format = "stderr";
ignore = generatedFiles;
};
};
deadnix = { deadnix = {
enable = true; enable = true;
excludes = generatedFiles; excludes = generatedFiles;