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 106b598..5f55645 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -212,7 +212,7 @@
- [ ] "no-useless-catch"
- [ ] "no-useless-computed-key"
- [ ] "no-useless-concat"
-- [ ] "no-useless-constructor"
+- [X] "no-useless-constructor"
- [ ] "no-useless-escape"
- [X] "no-useless-rename"
- [ ] "no-useless-return"
diff --git a/src/rules/default.json b/src/rules/default.json
index 9da13f1..bc3b692 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -362,6 +362,9 @@
"vars": "all"
}
],
+ "no-useless-constructor": [
+ "error"
+ ],
"no-useless-rename": [
"error",
{