meta: allow constant conditions in loop
This allows the pattern of a while loop with the condition 'true' and break in the body.
This commit is contained in:
parent
485cbf9043
commit
0354d645c5
|
@ -33,6 +33,7 @@
|
||||||
"object": true
|
"object": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"no-constant-condition": ["error", { "checkLoops": false }],
|
||||||
|
|
||||||
"import/no-extraneous-dependencies": [
|
"import/no-extraneous-dependencies": [
|
||||||
"error",
|
"error",
|
||||||
|
|
Loading…
Reference in New Issue