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 support #543

Open
jafar-jabr opened this issue Aug 10, 2024 · 0 comments
Open

Eslint 9 support #543

jafar-jabr opened this issue Aug 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jafar-jabr
Copy link

What's happening
I recently updated my React.js app to use ESLint 9, and I encountered a strange error. After spending considerable effort troubleshooting, I discovered that the issue was related to Craco.

ERROR in [eslint] Invalid Options:
- Unknown options: extensions, resolvePluginsRelativeTo
- 'extensions' has been removed.
- 'resolvePluginsRelativeTo' has been removed.

What should happen
expected to work with eslint 9

To reproduce
update eslint in your react.js app to v9.X.X

CRACO version
7.1.0

CRACO config

module.exports = {
 ...nothing_special
}

package.json

 ...nothing_special

Additional information
if I add

 eslint: {
    enable: false,
  },

to CRACO config it works.

@jafar-jabr jafar-jabr added the bug Something isn't working label Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant