diff options
Diffstat (limited to 'src/rules/default.json')
-rw-r--r-- | src/rules/default.json | 6 |
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" ], |