-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Question
Hi! Ruff is a cool tool, thank you for it! But I have a feeling that many interesting new rules (even with PRs) are blocked by "Rule categorization" and, as I probably have already mentioned somewhere, I am not sure that it's a good enough reason - yes, some people enable "ALL" rules and may get some rules not needed for them, but why this is a problem? If you decided to enable all rules it means you are ready to revisit newly added rules during ruff upgrade (even if a rule is good in general it doesn't mean it can be easily enabled in a big existing codebase). Even if you are trying to make default rule set sensible for all, every project is unique and anyway developers will disable some rules which are good by themselves, but doesn't fit (yet) to a particular project. Of course it would be nice to have a categorization, but as years passed and it's not added yet it's likely not that easy or not a priority, so, shouldn't be a blocker in that case.
A bit related topic - I heard you want to make own complexity metric instead of implementing all existing metrics from different linters, it sounds a bit related - also attempt to make something perfect for all instead of giving people tools for configure what they want in their particular case and it also not yet implemented.
So, my point - maybe you are trying to take too much and instead of building "perfect linter for all" it would be more realistic to make "perfect linter's building blocks" from which everyone can make, perfect for them, linter.
As I am a fun of classic liberal political philosophy and Austrian economy school it reminds me "central planing" vs "free market spontaneous order" debates - one of the points of classic liberal doctrine is that central planner just can't get all information about every particular case and thus can't make good decisions and entrepreneurs can do that because they know information about exact place/time etc. I guess it can be applied not only to economy.
Version
No response