feat(eslint): Rule "no-else-return"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-02-14 01:27:43 +04:00
1 parent e5752a7db1
commit ab55229cd3
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -218,6 +218,12 @@
"no-debugger": [
"warn"
],
"no-else-return": [
"error",
{
"allowElseIf": false
}
],
"no-empty": [
"warn",
{