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

DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. #48

Closed
thecotne opened this issue Jun 25, 2018 · 4 comments · Fixed by #49

Comments

@thecotne
Copy link

(node:36737) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard-react")
(node:36737) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "node_modules/eslint-config-standard-jsx/index.js")
(node:36737) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")
@shoota
Copy link

shoota commented Jun 28, 2018

FYI. relational issue.
standard/eslint-config-standard#114

@lfender6445
Copy link

lfender6445 commented Aug 21, 2018

The fix for me was to downgrade eslint from 5x.

yarn remove eslint; yarn add 'eslint@4.10.0'

I've read that the problem comes from incompatibility w airbnb config but haven't verfied

airbnb/javascript#1834

@corysimmons
Copy link

If you downgrade to 4 you run into standard/eslint-config-standard#112

@feross
Copy link
Member

feross commented Aug 28, 2018

A fixed version is released as eslint-config-standard-react 7.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants