From 37432c1b01bfd2898d7b9db592fbfe299d674ea9 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:58:35 +0400 Subject: feat(typescript): Rule "no-unused-vars" Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') 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" ], -- cgit v1.2.3