This change converts redundant attribute assignments of the form `a = a;` or `a = someSet.a;` into cleaner `inherit` statements. This reduces verbosity and follows common Nix style for bringing attributes into scope. Statix Codes: W03 (manual_inherit), W04 (manual_inherit_from) Also include statix and the rule in our configuration.
20 lines
406 B
TOML
20 lines
406 B
TOML
disabled = [
|
|
"bool_comparison",
|
|
"bool_simplification",
|
|
"collapsible_let_in",
|
|
"deprecated_is_null",
|
|
"deprecated_to_path",
|
|
"empty_list_concat",
|
|
"empty_inherit",
|
|
"empty_let_in",
|
|
"empty_pattern",
|
|
"eta_reduction",
|
|
"faster_groupby",
|
|
"faster_zipattrswith",
|
|
"legacy_let_syntax",
|
|
"repeated_keys",
|
|
"redundant_pattern_bind",
|
|
"unquoted_uri",
|
|
"useless_has_attr",
|
|
"useless_parens",
|
|
]
|