aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/typescript/default.json12
2 files changed, 13 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index c6e9031..b10ee0f 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -382,7 +382,7 @@
- [ ] "no-unnecessary-type-assertion"
- [X] "no-untyped-public-signature"
- [ ] "no-unused-expressions"
-- [ ] "no-unused-vars"
+- [X] "no-unused-vars"
- [ ] "no-unused-vars-experimental"
- [ ] "no-use-before-define"
- [ ] "no-useless-constructor"
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index a2253a2..41577d8 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -78,6 +78,15 @@
]
}
],
+ "@typescript-eslint/no-unused-vars": [
+ "error",
+ {
+ "args": "after-used",
+ "caughtErrors": "all",
+ "ignoreRestSiblings": false,
+ "vars": "all"
+ }
+ ],
"@typescript-eslint/quotes": [
"error",
"double",
@@ -129,6 +138,9 @@
"no-magic-numbers": [
"off"
],
+ "no-unused-vars": [
+ "off"
+ ],
"quotes": [
"off"
],