zanie
(Zanie Blue)
November 23, 2024, 8:45pm
24
Oscar Benjamin:
None of these rules belong in what I would consider to be the basic set of uncontroversial rules that is only concerned with checking for correctness while avoiding false positives, not complaining about style etc. Each of them suggests changes that are either incorrect in context or that are just not very important and don’t really concern correctness.
On the other hand there are many other rules that could go into the basic set but that are not enabled by default. It would be a lot of work to figure out which those rules are. It would be great if someone could figure that out though and identify the rules that at least seem likely to be universally applicable and then make it possible to select exactly those lint rules.
Just as a note, we (Astral) totally agree the default rule set is not ideal right now. We’re very interested in re-categorizing everything and establishing an uncontroversial and universally applicable default rule set — it’s just a big project.
12 Likes