From 05ae6b79c44a3835e279b6c9d0ee5345490f40d0 Mon Sep 17 00:00:00 2001 From: Zwifi Date: Thu, 14 Dec 2023 21:52:06 +0100 Subject: [PATCH] Use the typescript-eslint version of no-uused-vars (#555) --- eslint-configs/eslint-config-lib/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eslint-configs/eslint-config-lib/index.js b/eslint-configs/eslint-config-lib/index.js index e52a61aa..96a732cb 100644 --- a/eslint-configs/eslint-config-lib/index.js +++ b/eslint-configs/eslint-config-lib/index.js @@ -77,6 +77,10 @@ module.exports = { "error", { prefer: "type-imports" }, ], + // Using the typescript-eslint version of the followig rule prevents + // from flagging parameter names in signature types as unused. + "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": "error", }, }, ],