Add statix config
This commit is contained in:
6
assets/statix.toml
Normal file
6
assets/statix.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
disabled = [
|
||||
# Use "statix list" to map Wnn into names.
|
||||
|
||||
# Currently not useful: need to better split .nix files first.
|
||||
"repeated_keys" # a.b=, a.c= => a { b=, c= }
|
||||
]
|
||||
@@ -16,6 +16,9 @@
|
||||
nixfmt-rfc-style.enable = true;
|
||||
deadnix.enable = true;
|
||||
nil.enable = true;
|
||||
statix.enable = true; # Use: statix fix
|
||||
statix = {
|
||||
enable = true;
|
||||
settings.config = "${./assets/statix.toml}";
|
||||
}; # Use: statix fix
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user