diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -385,7 +385,7 @@ - [X] "no-unused-vars" - [X] "no-unused-vars-experimental" - [ ] "no-use-before-define" -- [ ] "no-useless-constructor" +- [X] "no-useless-constructor" - [ ] "no-var-requires" - [ ] "prefer-as-const" - [ ] "prefer-for-of" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 244b4a8..631bdf2 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -90,6 +90,9 @@ "@typescript-eslint/no-unused-vars-experimental": [ "error" ], + "@typescript-eslint/no-useless-constructor": [ + "error" + ], "@typescript-eslint/quotes": [ "error", "double", @@ -144,6 +147,9 @@ "no-unused-vars": [ "off" ], + "no-useless-constructor": [ + "off" + ], "quotes": [ "off" ], |