-
-
Notifications
You must be signed in to change notification settings - Fork 27k
[eslint-config-react-app] Property "overrides" is the wrong type #7284
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
Comments
What's the output for yarn why eslint |
This is fixed in #7219 |
@bugzpodder VSCode ships with an ESLint plugin, that's mainly why. Ah, nevermind. It looks like it's fixed. Won't get any errors from VSCode anymore and the code formatting also works again. Closed. |
Sadly, this fix has been sitting there for 14 days. Can you release this fix with version 6.0.2 ? @ianschmitz |
I used create-react-app to create my app, and I keep getting this error in vscode - how do I get rid of it? I tried updating react but its the same version as it was when I created the app first a couple of weeks ago. What is the solution to get rid of the error? |
Have the same problem with a newly created react app. What is there to do? |
Have close to the same problem, used the create-react-app and get this error in Websotrom 2019.1.3: |
any workarounds for now? |
I'm using ESLint 5.16.0 until it is updated. Works fine. |
@ianschmitz This is breaking apps that have the latest ESLint ( |
Solution for me was to downgrade eslint from version 6 back to 5 with |
@visualcookie Can you reopen this issue? It seems to be an issue with eslint v6 @kladnik 's suggestion worked for me. |
I'm using this outside of create-react-app as well, and looks like that configuration hasn't been updated in 2 months, until it is, I have to downgrade back to 5x as well. |
+1 for Eslint 6 |
There was a merged pull request 3 weeks ago that included fixes for this, but it has not been released I created |
@facebook At least can you publish a pre-release version to npm, please. |
Same issue with new install today with last version of Webstorm 2019.1.3 i did downgrade to "eslint": "5.16.0" and all is working now waiting for news to go for version 6+ |
I was having the same problem, I downgraded to [email protected] and I am no longer receiving this error |
Thanks, It worked for me too. |
@saifsadi yes we know that fixes the problem, because the problems is a breaking change in the latest major version of ESLint. You can either use |
It worked! Thx |
@visualcookie |
Seems like the new release is coming very soon (comment by @mrmckeb): #7415 (comment) |
It's worked for me npm i -s [email protected] |
Thanks all, 3.1 will be released this week with this fix. |
@bugzpodder close when it's released? |
Desribe the bug
When either trying to save a file or type some code in VSCode, you'll get the following error back:
Did you try recovering your dependencies?
Yes, I did. But didn't work. Even downgraded ESLint back to 5.16.0, same issue.
Which terms did you search for in User Guide?
Not using
create-react-app
. I'm using Gatsby here.Environment
Steps to reproduce
.eslintrc.js
to a Gatsby projectThe error should pop right up if you use VSCode for example.
Expected behavior
No error and the code gets formatted.
Actual behavior
Error and the code does not get formatted. Currently nothing from the
.eslintrc.js
works.Reproducible demo
Sadly, no reproducible demo, due to the issue being related to the ESLint plugin not
create-react-app
.The text was updated successfully, but these errors were encountered: