aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index a331ecc..7a53064 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -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"
],