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

Deprecation Warning on Version 13.0.0 #1877

Closed
dleitee opened this issue Aug 6, 2018 · 3 comments
Closed

Deprecation Warning on Version 13.0.0 #1877

dleitee opened this issue Aug 6, 2018 · 3 comments

Comments

@dleitee
Copy link

dleitee commented Aug 6, 2018

Hey,

I just installed the latest version of eslint-config-airbnb-base and still has the deprecation message:

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

I already take a look at your code base, and this is already fixed there, I think you forgot to add it to the published version.

Thanks

@ljharb
Copy link
Collaborator

ljharb commented Aug 6, 2018

That means your dependencies are invalid - if you run npm ls it will exit nonzero. You probably have eslint v5, and we're not compatible with that yet - see #1834.

Use the install command in the readme for eslint-config-airbnb-base and you'll always have valid versions of its deps, including eslint.

@ljharb ljharb closed this as completed Aug 6, 2018
@JoshuaVSherman
Copy link

JoshuaVSherman commented Aug 6, 2018 via email

@ljharb
Copy link
Collaborator

ljharb commented Aug 6, 2018

@JoshuaVSherman when the update is ready to be published. until then, use eslint 4.

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

3 participants