From fdd100bf977ce82f4510d814b91973bca8c9bf1d Mon Sep 17 00:00:00 2001 From: pheralb Date: Mon, 25 Aug 2025 14:25:09 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Update=20ESLint=20rules,?= =?UTF-8?q?=20add=20@typescript-eslint/no-unused-vars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.mjs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index a37d3d8..e4c1997 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -39,5 +39,16 @@ export default ts.config( svelteConfig, }, }, + rules: { + "svelte/no-unused-svelte-ignore": "warn", + "@typescript-eslint/no-unused-vars": [ + "warn", + { + argsIgnorePattern: "^_", + varsIgnorePattern: "^(_|\\$\\$)", + destructuredArrayIgnorePattern: "^_", + }, + ], + }, }, );