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