Unify hook settings and fix warning #38
1 changed files with 7 additions and 6 deletions
|
@ -26,14 +26,15 @@
|
|||
in {
|
||||
check.enable = true;
|
||||
settings = {
|
||||
# for some reason statix takes it config differently than all the other hooks.
|
||||
settings.statix = {
|
||||
hooks = {
|
||||
nil.enable = true;
|
||||
statix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = "stderr";
|
||||
ignore = generatedFiles;
|
||||
};
|
||||
hooks = {
|
||||
nil.enable = true;
|
||||
statix.enable = true;
|
||||
};
|
||||
deadnix = {
|
||||
enable = true;
|
||||
excludes = generatedFiles;
|
||||
|
|
Loading…
Reference in a new issue