feat(eslint): Rule "no-else-return"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
e5752a7db1
commit
ab55229cd3
@ -105,7 +105,7 @@
|
||||
- [ ] "no-dupe-keys"
|
||||
- [ ] "no-duplicate-case"
|
||||
- [ ] "no-duplicate-imports"
|
||||
- [ ] "no-else-return"
|
||||
- [X] "no-else-return"
|
||||
- [X] "no-empty"
|
||||
- [ ] "no-empty-character-class"
|
||||
- [ ] "no-empty-function"
|
||||
|
@ -218,6 +218,12 @@
|
||||
"no-debugger": [
|
||||
"warn"
|
||||
],
|
||||
"no-else-return": [
|
||||
"error",
|
||||
{
|
||||
"allowElseIf": false
|
||||
}
|
||||
],
|
||||
"no-empty": [
|
||||
"warn",
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user