-
Notifications
You must be signed in to change notification settings - Fork 26.6k
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
[ESLINT_LEGACY_OBJECT_REST_SPREAD] #1888
Comments
if you look in Separately, why are you extending airbnb-base and react, when you have the main "airbnb" config available? Try changing your config to this: "eslintConfig": {
"extends": [
"airbnb"
],
"parser": "babel-eslint",
"rules": {
"import/extensions": "off", // these should really be on, though
"import/no-unresolved": "off"
},
"env": {
"browser": true
}
} |
After that change this is the new output: |
ahhh that looks like you've got those installed globally. Run |
Awesome thank you so much! It is working as it should now. Thanks again! |
Hey I was following #1834 since I was getting the same warning. I have since upgraded to the latest airbnb config and eslint hoping that it would solve the issue for me, but I am still getting the same message. I have run the peer deps install command for
eslint-config-airbnb
. When I runnpm ls
I get what looks like a huge dependency tree/graph. My .eslintrc is inside of my package.json and looks like this:And my dev dependencies are:
And the warning message is:
(node:2750) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "airbnb-base")
If anyone has any information I would be very appreciative.
The text was updated successfully, but these errors were encountered: