You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@golopot can you try changing node_modules/eslint-plugin-react/configs/all.js to add Object.defineProperty(module.exports, 'languageOptions', { enumerable: false }); as the last line, and try again?
I'm wondering if making it non-enumerable will "hide" it from the legacy config's validation.
In master branch of this plugin, extending
plugin:react/all
in eslintrc cause a crash. This bug comes from #3429.Reproduction:
Result:
Oops! Something went wrong! :(
ESLint: 8.25.0
Error: ESLint configuration in .eslintrc.json » plugin:react/all is invalid:
- Unexpected top-level property "languageOptions".
@jjangga0214
The text was updated successfully, but these errors were encountered: