From 074ea1526a129f41e4d81b97f57c88a35ba43b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 25 Aug 2022 15:09:31 +0200 Subject: [PATCH] Disallow Unused Variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rūdolfs Ošiņš --- .eslintrc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index e71b92ad0..b440e0aeb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -94,7 +94,10 @@ "requireLast": false } } - ] + ], + // Disallow Unused Variables. + // https://eslint.org/docs/rules/no-unused-vars + "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }] }, "settings": { "svelte3/typescript": true