RightCapitalHQ / frontend-style-guide

RightCapital's frontend style guide.
MIT License
7 stars 0 forks source link

A standalone tool to check the usage of deprecated and unknown ESLint rules #185

Closed frantic1048 closed 1 month ago

frantic1048 commented 1 month ago

Currently we have some code that checks deprecated ESLint rules in our tests. It presently checks only the rules in this repository.

We could offer a standalone tool for downstream projects to easily identify deprecated and unknown (usually when a deprecated rule is finally removed from upstream) rules in their ESLint configurations.

It should be able to:

  1. List unknown rule usage. Generally, ESLint will throw an error if there is an 'unknown-rule': 'error', but it will not report a rule setting like 'unknown-rule': 'off' (disabling a rule).
  2. List deprecated rule usage.
  3. Provide other debugging-related information:
    1. All known rules: core + plugins.
    2. All loaded plugins.