feat(eslint): Rule "no-unneeded-ternary"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
@ -254,6 +254,12 @@
|
||||
"enforceInMethodNames": false
|
||||
}
|
||||
],
|
||||
"no-unneeded-ternary": [
|
||||
"error",
|
||||
{
|
||||
"defaultAssignment": true
|
||||
}
|
||||
],
|
||||
"no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
|
Reference in New Issue
Block a user