feat(eslint): Rule "no-constant-condition"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
43ccb96a99
commit
228ad3183c
@ -92,7 +92,7 @@
|
||||
- [ ] "no-confusing-arrow"
|
||||
- [X] "no-console"
|
||||
- [ ] "no-const-assign"
|
||||
- [ ] "no-constant-condition"
|
||||
- [X] "no-constant-condition"
|
||||
- [ ] "no-constructor-return"
|
||||
- [ ] "no-continue"
|
||||
- [ ] "no-control-regex"
|
||||
|
@ -194,6 +194,12 @@
|
||||
"no-console": [
|
||||
"warn"
|
||||
],
|
||||
"no-constant-condition": [
|
||||
"error",
|
||||
{
|
||||
"checkLoops": true
|
||||
}
|
||||
],
|
||||
"no-debugger": [
|
||||
"warn"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user