From 0354d645c50625b2a2f44cb651b3cabaa8ccd441 Mon Sep 17 00:00:00 2001 From: Xymorot Date: Fri, 6 Nov 2020 00:17:42 +0100 Subject: [PATCH] meta: allow constant conditions in loop This allows the pattern of a while loop with the condition 'true' and break in the body. --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index 32ba1b6..aedcf38 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -33,6 +33,7 @@ "object": true } ], + "no-constant-condition": ["error", { "checkLoops": false }], "import/no-extraneous-dependencies": [ "error",