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

ESLint 9 invalid options #10225

Open
RudyTheDev opened this issue Apr 30, 2024 · 0 comments
Open

ESLint 9 invalid options #10225

RudyTheDev opened this issue Apr 30, 2024 · 0 comments

Comments

@RudyTheDev
Copy link
Contributor

It seems that ESLint 9 has deprecated/changed some configuration stuff. My IDE (JetBrains Rider) reports:

Error: Invalid Options:
- Unknown options: reportUnusedDisableDirectives, resolvePluginsRelativeTo, rulePaths, useEslintrc, extensions, ignorePath
- 'extensions' has been removed.
- 'resolvePluginsRelativeTo' has been removed.
- 'ignorePath' has been removed.
- 'rulePaths' has been removed. Please define your rules using plugins.
- 'reportUnusedDisableDirectives' has been removed. Please use the 'overrideConfig.linterOptions.reportUnusedDisableDirectives' option instead.

These come from processOptions (node_modules\eslint\lib\eslint\eslint-helpers.js:839:15)

I am not familiar enough with any of this lint stuff to say more. These errors are not present on an earlier v8.57.0. So I am assuming some config files need to be updated? It's not saying where it's reading stuff from, but the IDE says it looks for .eslintrc.* files. These also seem to be more like warnings than errors because they don't stop the project being built/tested. I am not 100% sure this isn't just my IDE doing something weird.

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

No branches or pull requests

1 participant