Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upESLint v2.0.0-rc1 required, which is not noted in WebStorm documentation #409
Comments
This comment has been minimized.
This comment has been minimized.
|
Yes, you're right. I jumped the gun a bit and may have released Documentation is updated. |
feross
closed this
in
690984d
Feb 7, 2016
This comment has been minimized.
This comment has been minimized.
knownasilya
commented
Feb 15, 2016
|
Even with Eslint 2.0, it fails with Node 5.6 https://travis-ci.org/Strider-CD/core/jobs/109256135#L859 |
This comment has been minimized.
This comment has been minimized.
vanjan
commented
Feb 15, 2016
|
This can now be reverted, since eslint@2.0.0 has been released. |
This comment has been minimized.
This comment has been minimized.
|
@vanjan Thanks, reverted. |
This comment has been minimized.
This comment has been minimized.
|
@knownasilya Please update to the latest version of |
feross
added
the
question
label
Feb 15, 2016
feross
added a commit
that referenced
this issue
Feb 15, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
vulpino commentedFeb 6, 2016
Given the .eslintrc file:
{ "extends": ["standard", "standard-jsx"], "plugins": ["react"], "ecmaFeatures": { "jsx": true }, "env": {} }The following error ocurrs:
The issue appears to be caused because Standard requires a release candidate version of eslint (v2.0.0-rc1). The documentation for WebStorm recommends running
npm install -g eslint eslint-config-standard eslint-plugin-standard, but these will install the newer version of eslint-config-standard and eslint-plugin-standard which have rules that apparently depend on a newer version of eslint. The issue is fixed by installing eslint v2.0.0-rc1 explicitly, but the WebStorm documentation should be updated to recommend explicitly installing v2.0.0-rc1 (or somewhere along the process outside of thestandardpackage it should be explicitly required).