Skip to content

Commit de94d41

Browse files
committed
update prefer-while docs
1 parent c8e8475 commit de94d41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/prefer-while.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A `for`-loop without initializer and incrementer can also be rewritten as `while`-loop. This rule can automatically fix errors.
44

5+
:warning: As of TSLint v5.10.0 this rule is a TSLint core rule. You will no longer be able to use the rule from this package.
6+
57
```ts
68
for (;;)
79
doStuff();

0 commit comments

Comments
 (0)