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

Warning message with ESLint 5 #114

Closed
ehmicky opened this issue May 4, 2018 · 4 comments · Fixed by #115
Closed

Warning message with ESLint 5 #114

ehmicky opened this issue May 4, 2018 · 4 comments · Fixed by #115

Comments

@ehmicky
Copy link

ehmicky commented May 4, 2018

When used with ESLint 5.0.0-alpha.2, this ESLint config produces the following warning message:

[ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")

This is due to eslint/eslint#10230

@feross
Copy link
Member

feross commented May 5, 2018

Thanks for the issue.

I just published eslint-config-standard@12.0.0-alpha.0 that you can use with ESLint 5. Be warned that there are going to be npm install warnings until all the ESLint plugins we use also update their peerDependencies to support eslint@5.0.0-alpha.2.

Get it with npm install eslint-config-standard@next

@unindented
Copy link

@feross is there anything blocking the release of 12.0.0 proper?

@voxpelli
Copy link
Member

@unindented see #123, nothing really blocking (apart from an action from the maintainers), but a few things that are nice to haves

pcraig3 added a commit to cds-snc/ircc-rescheduler that referenced this issue Jul 26, 2018
Found I was getting a linting error when running locally:
> [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")

As noted in a couple places, we can bump the version of our
eslint-config-standard library and we're good.

Source:
- standard/standard#1156
- standard/eslint-config-standard#114
pcraig3 added a commit to cds-snc/ircc-rescheduler that referenced this issue Jul 26, 2018
Found I was getting a linting error when running `yarn lint` locally:
> [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")

As noted in a couple places, we can bump the version of our
eslint-config-standard library and we're good.

Source:
- standard/standard#1156
- standard/eslint-config-standard#114
pcraig3 added a commit to cds-snc/ircc-rescheduler that referenced this issue Aug 1, 2018
Found I was getting a linting error when running `yarn lint` locally:
> [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")

As noted in a couple places, we can bump the version of our
eslint-config-standard library and we're good.

Source:
- standard/standard#1156
- standard/eslint-config-standard#114
@corysimmons
Copy link

corysimmons commented Aug 22, 2018

Not sure if it's on anyone's radar but these also need updating in:

  • standard-react
  • eslint-config-standard-jsx

Also, lol at the downvotes on the maintainer replying to the original poster the next day with a fix because there will be warnings in terminal [from packages maintained by other people]. 😂

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