Files
nix-config/statix.toml
2026-03-25 16:42:34 -05:00

26 lines
917 B
TOML

# 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",
]