Skip to content

Commit 477e968

Browse files
committed
feat(prefer-for-of): disable prefer-for-of rule
This rule complains even when it is not possible to use for-of.
1 parent b4881a1 commit 477e968

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const jsRules = {
3131
"prefer-function-over-method": {
3232
options: ["allow-public", "allow-protected"]
3333
},
34+
"prefer-for-of": false,
3435
"prefer-while": true,
3536
"ter-indent": {
3637
options: [4, {

0 commit comments

Comments
 (0)