From 6cd9f9b2d9a3763a7659f1aca8a50ea6900bd077 Mon Sep 17 00:00:00 2001 From: Mattias Granlund Date: Tue, 28 Nov 2023 23:28:15 +0100 Subject: [PATCH] Make eslint fail lint on unused variables --- packages/ui/.eslintrc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/.eslintrc.cjs b/packages/ui/.eslintrc.cjs index ba6c14e38..60375a42f 100644 --- a/packages/ui/.eslintrc.cjs +++ b/packages/ui/.eslintrc.cjs @@ -36,7 +36,7 @@ module.exports = { '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unused-vars': [ - 'warn', // or "error" + 'error', // or "error" { argsIgnorePattern: '^_', varsIgnorePattern: '^_',