-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
Milestone
Description
As user, I would like to have an easier way to connect ESLint audits to categories than one-by-one.
There are couple of ways we can automatically group lint rules based on some their metadata:
- ESLint rules may have a
meta.typeof type'problem' | 'suggestion' | 'layout'(not every ESLint plugin uses it, but many do)- we can automatically create
problems,suggestionsandlayoutgroups from these
- we can automatically create
- some ESLint plugins take advantage of
meta.docs.category, although this is deprecated and can be any string, so it'll likely only apply to rules within a specific plugin- we can automatically create groups like
functional-no-mutationsandfunctional-no-other-paradigms(example foreslint-plugin-functional), which could also be useful in some cases
- we can automatically create groups like