summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 01:00:56 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 01:00:56 +0300
commitb0067fb63e1234e60a33781fa65ba6ca87f4670e (patch)
treea55919b7fc22f256607f2b61d1a91d68e4119fda
parent37432c1b01bfd2898d7b9db592fbfe299d674ea9 (diff)
downloadeslint-config-b0067fb63e1234e60a33781fa65ba6ca87f4670e.tar.xz
eslint-config-b0067fb63e1234e60a33781fa65ba6ca87f4670e.zip
feat(typesscript): Rule "no-unused-vars-experimental"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/typescript/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index b10ee0f..89e8d24 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -383,7 +383,7 @@
- [X] "no-untyped-public-signature"
- [ ] "no-unused-expressions"
- [X] "no-unused-vars"
-- [ ] "no-unused-vars-experimental"
+- [X] "no-unused-vars-experimental"
- [ ] "no-use-before-define"
- [ ] "no-useless-constructor"
- [ ] "no-var-requires"
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 41577d8..244b4a8 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -87,6 +87,9 @@
"vars": "all"
}
],
+ "@typescript-eslint/no-unused-vars-experimental": [
+ "error"
+ ],
"@typescript-eslint/quotes": [
"error",
"double",