Eslint 9 support
Author: jafar-jabrCreated Aug 10, 2024Updated Feb 7, 2025
Labelsbug
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_specialAdditional information if I add
eslint: {
enable: false,
},to CRACO config it works.
Source: dilanx/craco