From b0067fb63e1234e60a33781fa65ba6ca87f4670e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 02:00:56 +0400 Subject: feat(typesscript): Rule "no-unused-vars-experimental" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/typescript/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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", -- cgit v1.2.3