Skip to content

linter: add filtering to the rules list #318

Open
@Sheraff

Description

@Sheraff

Now that the number of rules has grown so large, it would be nice to add some filtering so that users have an easier time finding what they are looking for:

  • for example, typescript-eslint makes their "emoji legend" clickable to filter in / out some categories. This is pretty useful if, for example, you only want to see the fixable rules
    Image

  • for example, eslint indicates when a rule is made redundant by the use of typescript, which is useful to know when wanting to avoid double reporting of issues in CI and to make the errors easier to understand in IDEs (idk why this is not more prominent on eslint's website)
    Image

  • in addition, oxc has rules inspired by many existing eslint plugins (unicorn, jsx-a11y, ...) which could also be used as a target for filtering. This would be useful for folks familiar with these plugins


References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions