newline-after-var declare in for loop #2317
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
I like the new line after var feature how ever I was wondering if it would be possible to add an option to allow it to ignore values declared in a for loop. Currently when newline-after-var is enabled this is considered an error
Obviously this is possible but it defeats the purpose of the "i" only being defined in the scope of the for using let
The text was updated successfully, but these errors were encountered: