feat(eslint): Rule "yoda"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
@ -549,5 +549,13 @@
|
||||
{
|
||||
"requireStringLiterals": true
|
||||
}
|
||||
],
|
||||
"yoda": [
|
||||
"error",
|
||||
"never",
|
||||
{
|
||||
"exceptRange": false,
|
||||
"onlyEquality": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user