diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:30:32 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:30:32 +0300 |
commit | 89417413948233b86d5a1a8a8d2dab4c3a00b8c0 (patch) | |
tree | 1af96cdaabd1393c1cd6a16cbd2e73d13848d07c | |
parent | 0fdc1f6b956dbc273325842a4af60a5425826f5f (diff) | |
download | eslint-config-89417413948233b86d5a1a8a8d2dab4c3a00b8c0.tar.xz eslint-config-89417413948233b86d5a1a8a8d2dab4c3a00b8c0.zip |
feat(eslint): Rule "no-useless-call"
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
@@ -208,7 +208,7 @@ - [X] "no-unused-vars" - [ ] "no-use-before-define" - [ ] "no-useless-backreference" -- [ ] "no-useless-call" +- [X] "no-useless-call" - [ ] "no-useless-catch" - [X] "no-useless-computed-key" - [ ] "no-useless-concat" diff --git a/src/rules/default.json b/src/rules/default.json index 91af2ff..9cdbcc9 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -368,6 +368,9 @@ "vars": "all" } ], + "no-useless-call": [ + "error" + ], "no-useless-computed-key": [ "error", { |