feat(eslint): Rule "no-unmodified-loop-condition"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 01:51:45 +04:00
parent 31982f91ad
commit 6feb545641
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -198,7 +198,7 @@
- [X] "no-undefined"
- [X] "no-underscore-dangle"
- [ ] "no-unexpected-multiline"
- [ ] "no-unmodified-loop-condition"
- [X] "no-unmodified-loop-condition"
- [X] "no-unneeded-ternary"
- [ ] "no-unreachable"
- [ ] "no-unsafe-finally"

View File

@ -344,6 +344,9 @@
"enforceInMethodNames": false
}
],
"no-unmodified-loop-condition": [
"error"
],
"no-unneeded-ternary": [
"error",
{