Incorrect behaviour of "no-unused-vars" rule when variable defined outside of the loop #6125
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
triage
An ESLint team member will look at this issue soon
What version of ESLint are you using?
2.9.0
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
run eslint on the following code -
What did you expect to happen?
No errors
What actually happened? Please include the actual, raw output from ESLint.
2:6 error 'name' is defined but never used no-unused-vars
The text was updated successfully, but these errors were encountered: