feat(eslint): Rule "no-constant-condition"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 01:20:54 +04:00
parent 43ccb96a99
commit 228ad3183c
2 changed files with 7 additions and 1 deletions

View File

@ -194,6 +194,12 @@
"no-console": [
"warn"
],
"no-constant-condition": [
"error",
{
"checkLoops": true
}
],
"no-debugger": [
"warn"
],