Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ESLint 9.x? #351

Open
Tracked by #2961
mockdeep opened this issue May 9, 2024 · 2 comments · May be fixed by #353
Open
Tracked by #2961

Support for ESLint 9.x? #351

mockdeep opened this issue May 9, 2024 · 2 comments · May be fixed by #353

Comments

@mockdeep
Copy link

mockdeep commented May 9, 2024

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
Copy link
Collaborator

ljharb commented May 9, 2024

Yes, PRs are most welcome.

mgol added a commit to mgol/eslint-config-mgol that referenced this issue Jun 14, 2024
Skip `eslint-find-rules` for now as it's not compatible
with ESLint 9 so far.

Ref sarbbottam/eslint-find-rules#351
@yutak23 yutak23 linked a pull request Sep 27, 2024 that will close this issue
@lotmek
Copy link
Contributor

lotmek commented Oct 4, 2024

Just created a PR to support flat configs in v8 #354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants