From 865308fdfed5a8485f54fb8195e95dc512280a31 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sun, 23 Nov 2025 14:37:56 +0000 Subject: [PATCH] lint: configure eslint to ignore underscore-prefixed unused vars Co-Authored-By: Justin Edmund --- eslint.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 8621138..ae2db95 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -30,6 +30,18 @@ export default [ } } }, + { + rules: { + '@typescript-eslint/no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + varsIgnorePattern: '^_', + caughtErrorsIgnorePattern: '^_' + } + ] + } + }, { ignores: ['build/', '.svelte-kit/', 'dist/'] },