From 89417413948233b86d5a1a8a8d2dab4c3a00b8c0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:30:32 +0400 Subject: feat(eslint): Rule "no-useless-call" 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 94f0774..a331ecc 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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", { -- cgit v1.2.3