Unify hook settings and fix warning
trace: warning: The option `settings.statix' defined in `/nix/store/plj05iykqma26y930qjf75zxp2qx02sl-source/flake.nix, via option perSystem' has been renamed to `hooks.statix.settings'.
This commit is contained in:
parent
e69c8c6efb
commit
65dd833767
1 changed files with 7 additions and 6 deletions
|
@ -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.
|
hooks = {
|
||||||
settings.statix = {
|
nil.enable = true;
|
||||||
|
statix = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
format = "stderr";
|
format = "stderr";
|
||||||
ignore = generatedFiles;
|
ignore = generatedFiles;
|
||||||
};
|
};
|
||||||
hooks = {
|
};
|
||||||
nil.enable = true;
|
|
||||||
statix.enable = true;
|
|
||||||
deadnix = {
|
deadnix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
excludes = generatedFiles;
|
excludes = generatedFiles;
|
||||||
|
|
Loading…
Reference in a new issue