Skip to content
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: experimentalObjectRestSpread option is deprecated #1870

Closed
bugeats opened this issue Jul 16, 2018 · 1 comment
Closed

eslint: experimentalObjectRestSpread option is deprecated #1870

bugeats opened this issue Jul 16, 2018 · 1 comment

Comments

@bugeats
Copy link

bugeats commented Jul 16, 2018

Using eslint v5.1.0:

DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in eslint-config-airbnb/node_modules/eslint-config-airbnb-base/index.js")

I care because this deprecation message is screwing up my editor.

@ljharb
Copy link
Collaborator

ljharb commented Jul 16, 2018

We don't support eslint 5 yet - see #1834 - so your dependency graph is invalid. Until npm ls exits zero, you can't rely on anything to work.

Downgrade to v4 in the meantime, and then your dependencies won't be invalid, and you won't get any deprecation messages.

@ljharb ljharb closed this as completed Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants