sarbbottam / eslint-find-rules

Find built-in ESLint rules you don't have in your custom config
http://npm.im/eslint-find-rules
MIT License
207 stars 37 forks source link

Support for ESLint 9.x? #351

Open mockdeep opened 6 months ago

mockdeep commented 6 months ago

When I run this with ESLint 9.1 I get an error message:

ESLintInvalidOptionsError: Invalid Options:
- Unknown options: useEslintrc
    at processOptions (/home/circleci/app/node_modules/eslint/lib/eslint/eslint-helpers.js:839:15)
    at new ESLint (/home/circleci/app/node_modules/eslint/lib/eslint/eslint.js:593:34)
    at /home/circleci/app/node_modules/eslint-find-rules/dist/lib/rule-finder.js:9:20
    at Generator.next (<anonymous>)
    at step (/home/circleci/app/node_modules/eslint-find-rules/dist/lib/rule-finder.js:81:191)
    at /home/circleci/app/node_modules/eslint-find-rules/dist/lib/rule-finder.js:81:437
    at new Promise (<anonymous>)
    at /home/circleci/app/node_modules/eslint-find-rules/dist/lib/rule-finder.js:81:99
    at _getConfigs (/home/circleci/app/node_modules/eslint-find-rules/dist/lib/rule-finder.js:41:17)
    at /home/circleci/app/node_modules/eslint-find-rules/dist/lib/rule-finder.js:47:30 {
  code: 'ESLINT_INVALID_OPTIONS'

Are there plans to update it to support the latest ESLint?

ljharb commented 6 months ago

Yes, PRs are most welcome.

lotmek commented 1 month ago

Just created a PR to support flat configs in v8 https://github.com/sarbbottam/eslint-find-rules/pull/354