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"
|
- [ ] "no-confusing-arrow"
|
||||||
- [X] "no-console"
|
- [X] "no-console"
|
||||||
- [ ] "no-const-assign"
|
- [ ] "no-const-assign"
|
||||||
- [ ] "no-constant-condition"
|
- [X] "no-constant-condition"
|
||||||
- [ ] "no-constructor-return"
|
- [ ] "no-constructor-return"
|
||||||
- [ ] "no-continue"
|
- [ ] "no-continue"
|
||||||
- [ ] "no-control-regex"
|
- [ ] "no-control-regex"
|
||||||
|
@ -194,6 +194,12 @@
|
|||||||
"no-console": [
|
"no-console": [
|
||||||
"warn"
|
"warn"
|
||||||
],
|
],
|
||||||
|
"no-constant-condition": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"checkLoops": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-debugger": [
|
"no-debugger": [
|
||||||
"warn"
|
"warn"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user