Duplication among linters #4661
-
Does this project attempt to list or keep track of duplication among linters? For example, the https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bare-return |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Not really. We're aware of most linters overlapping but mostly it's up to the user to pick whatever combination they want. There's been some concerns where some linters have contradicting rules like this one: #1510. This is mostly a problem when you try to apply fixes. We generally don't accept full overlaps and for very niche linters we usually suggest to add the differences as configurable features of existing linters. Since we don't recommend any setup (and probably won't in the future either) we don't track what linters and linter rules overlap with others and leave it up to the users to find out. |
Beta Was this translation helpful? Give feedback.
Not really. We're aware of most linters overlapping but mostly it's up to the user to pick whatever combination they want. There's been some concerns where some linters have contradicting rules like this one: #1510. This is mostly a problem when you try to apply fixes.
We generally don't accept full overlaps and for very niche linters we usually suggest to add the differences as configurable features of existing linters.
Since we don't recommend any setup (and probably won't in the future either) we don't track what linters and linter rules overlap with others and leave it up to the users to find out.