diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:00:56 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:00:56 +0300 |
commit | b0067fb63e1234e60a33781fa65ba6ca87f4670e (patch) | |
tree | a55919b7fc22f256607f2b61d1a91d68e4119fda | |
parent | 37432c1b01bfd2898d7b9db592fbfe299d674ea9 (diff) | |
download | eslint-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.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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", |