-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Crash for master branch when extending "plugin:react/all" in eslintrc #3461
Comments
Thanks for catching that. The hope was that we can use the same imports in both config systems. |
@golopot can you try changing I'm wondering if making it non-enumerable will "hide" it from the legacy config's validation. |
@ljharb Adding that line fixed the bug. |
Thanks@ @jjangga0214 can you confirm that with that line added, the new config system still works? |
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: