From 4553037062717bbbc6f41e9229cfb6d78a7e039e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:21:22 +0400 Subject: feat(eslint): Rule "no-useless-constructor" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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", { -- cgit v1.2.3