feat(eslint): Rule "no-nested-ternary"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 23:44:27 +04:00
parent 5b981c9788
commit 91b3361884
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -150,7 +150,7 @@
- [X] "no-native-reassign"
- [ ] "no-negated-condition"
- [X] "no-negated-in-lhs"
- [ ] "no-nested-ternary"
- [X] "no-nested-ternary"
- [ ] "no-new"
- [ ] "no-new-func"
- [ ] "no-new-object"

View File

@ -227,6 +227,9 @@
"no-negated-in-lhs": [
"off"
],
"no-nested-ternary": [
"error"
],
"no-spaced-func": [
"off"
],