fix nix flake check
This commit is contained in:
25
statix.toml
Normal file
25
statix.toml
Normal file
@@ -0,0 +1,25 @@
|
||||
# Disable lint rules that generate excessive false-positives or noise.
|
||||
#
|
||||
# manual_inherit / manual_inherit_from: very high volume of style suggestions.
|
||||
# useless_parens: many intentional parentheses for readability.
|
||||
# empty_pattern: { ... }: is a valid and readable no-arg pattern.
|
||||
# unquoted_uri: false-positives inside shell heredocs in Nix strings.
|
||||
# useless_has_attr: if/has-attr patterns are sometimes clearer.
|
||||
# repeated_keys: intentionally split across sections for readability/context.
|
||||
disabled = [
|
||||
"manual_inherit",
|
||||
"manual_inherit_from",
|
||||
"useless_parens",
|
||||
"empty_pattern",
|
||||
"unquoted_uri",
|
||||
"useless_has_attr",
|
||||
"repeated_keys",
|
||||
]
|
||||
|
||||
# Exclude files where statix's parser fails on complex shell-in-Nix content.
|
||||
ignore = [
|
||||
"modules/home/programs/update-checker/default.nix",
|
||||
"modules/home/programs/waybar/scripts/weather.nix",
|
||||
"modules/home/programs/waybar/scripts/media.nix",
|
||||
"qemu.nix",
|
||||
]
|
||||
Reference in New Issue
Block a user