diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -215,7 +215,7 @@ - [X] "no-useless-constructor" - [ ] "no-useless-escape" - [X] "no-useless-rename" -- [ ] "no-useless-return" +- [X] "no-useless-return" - [X] "no-var" - [ ] "no-void" - [ ] "no-warning-comments" diff --git a/src/rules/default.json b/src/rules/default.json index 9cdbcc9..0611be9 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -388,6 +388,9 @@ "ignoreImport": false } ], + "no-useless-return": [ + "error" + ], "no-var": [ "error" ], |