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 upPhpStorm `no-unused-var` highlight issue in JSX #650
Comments
kinyat
changed the title
PhpStorm jsx-uses-vars highlight issue
PhpStorm `no-unused-var` highlight issue
Oct 6, 2016
kinyat
changed the title
PhpStorm `no-unused-var` highlight issue
PhpStorm `no-unused-var` highlight issue in JSX
Oct 6, 2016
This comment has been minimized.
This comment has been minimized.
|
Oh, this is because the Webstorm instructions don't tell users to install eslint-config-standard-jsx. Your solution works, but you're not getting the full set of rules that I'll send a PR to update the instructions. |
This comment has been minimized.
This comment has been minimized.
|
PR is sent: #651 |
feross
closed this
in
#651
Oct 7, 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.
kinyat commentedOct 6, 2016
•
edited
My PhpStorm generates wrong highlights for
no-unused-varin JSX when using the given default.eslintrcby StandardJS.If I run eslint or standard in command line, there are no any rule conflicts.
By changing the default
.eslintrcto the following, it will solve the issue in PhpStorm.