commit 722d5a38a88761df78a12f7501fcf810c1a710a6
parent bb0093d45bf5044c7aa49b4716b9ffe75df12ff1
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Tue, 3 Dec 2019 12:52:02 +0100
lint: allow constant conditions in loops
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.eslintrc b/.eslintrc
@@ -11,6 +11,7 @@
},
"rules": {
"no-unused-vars": ["error", {"argsIgnorePattern": "_unused(_.+)?"}],
+ "no-constant-condition": ["error", {"checkLoops": false}],
"globals": {
"NODE_ENV": true,
"RELEASE_VER": true