summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 963e9dc..6df0efe 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -194,6 +194,12 @@
"no-console": [
"warn"
],
+ "no-constant-condition": [
+ "error",
+ {
+ "checkLoops": true
+ }
+ ],
"no-debugger": [
"warn"
],