diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -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" 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", { |