prefer-const
rule should treat ForInStatement
with the same way as ForOfStatement
.
#2739
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
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
This detail is here
for-in
are considered warnings that the same asfor-of
.The text was updated successfully, but these errors were encountered: