You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Expected a 'for-of' loop instead of a 'for' loop with this simple iteration
Expected behavior
No error.
Because the code cannot be transformed to for...of.
The text was updated successfully, but these errors were encountered:
plantain-00
changed the title
[ prefer-for-of rule]some for loop code can not be transformed to for...of
[ prefer-for-of]some for loop code can not be transformed to for...ofDec 24, 2016
adidahiya
changed the title
[ prefer-for-of]some for loop code can not be transformed to for...of
prefer-for-of rule false positive
Dec 25, 2016
Bug Report
4.2.0
2.1.4
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
Expected a 'for-of' loop instead of a 'for' loop with this simple iteration
Expected behavior
No error.
Because the code cannot be transformed to for...of.
The text was updated successfully, but these errors were encountered: