diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:21:22 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:21:22 +0300 |
commit | 4553037062717bbbc6f41e9229cfb6d78a7e039e (patch) | |
tree | 72ebe3ca110d681766efe7d8a3428e489e338d1e | |
parent | 5051eed9df34c9beb2a9fd9e2ba379b43cd411f5 (diff) | |
download | eslint-config-4553037062717bbbc6f41e9229cfb6d78a7e039e.tar.xz eslint-config-4553037062717bbbc6f41e9229cfb6d78a7e039e.zip |
feat(eslint): Rule "no-useless-constructor"
Signed-off-by: Valentin Popov <info@valentineus.link>
-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", { |