#543·craco

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.

javascript
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

javascript
module.exports = {
 ...nothing_special
}

package.json

jsonc
 ...nothing_special

Additional information if I add

javascript
 eslint: {
    enable: false,
  },

to CRACO config it works.