This transform was created to programmatically add metadata to all ESLint rules (#5417).
here's a live example for the no-trailing-spaces
rule.
Please note:
- The rule mappings were initially created by scraping eslint.org/docs/rules using jsdom.
- The scraping assumes all fixable rules are of fixable type
whitespace
. This is not true for 4 rules, which were fixed manually afterwards:semi
no-extra-semi