luoshi пре 4 година
родитељ
комит
2cef5e6821
1 измењених фајлова са 8 додато и 1 уклоњено
  1. 8 1
      source/.eslintrc.json

+ 8 - 1
source/.eslintrc.json

@@ -12,5 +12,12 @@
         "ecmaVersion": 2018,
         "sourceType": "module"
     },
-    "rules": {}
+    "rules": {
+        "no-constant-condition": [
+            "error",
+            {
+                "checkLoops": false
+            }
+        ]
+    }
 }