summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/default.json b/src/rules/default.json
index 05db158..7c2564c 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -218,6 +218,12 @@
"no-debugger": [
"warn"
],
+ "no-else-return": [
+ "error",
+ {
+ "allowElseIf": false
+ }
+ ],
"no-empty": [
"warn",
{