feat(eslint): Rule "no-ternary"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 22:35:03 +04:00
parent 2cb3cc32ed
commit 7a65b14bef
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -189,7 +189,7 @@
- [ ] "no-sync"
- [X] "no-tabs"
- [ ] "no-template-curly-in-string"
- [ ] "no-ternary"
- [X] "no-ternary"
- [ ] "no-this-before-super"
- [ ] "no-throw-literal"
- [ ] "no-trailing-spaces"

View File

@ -135,6 +135,9 @@
"allowIndentationTabs": true
}
],
"no-ternary": [
"off"
],
"no-unused-vars": [
"error",
{