aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json3
2 files changed, 4 insertions, 1 deletions
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",
{