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:
Xymorot 2020-11-06 00:17:42 +01:00
parent 485cbf9043
commit 0354d645c5
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@
"object": true
}
],
"no-constant-condition": ["error", { "checkLoops": false }],
"import/no-extraneous-dependencies": [
"error",