From d10665091baceaa09f3ea6807a30b493ddd9ae7d Mon Sep 17 00:00:00 2001 From: oomeow Date: Wed, 29 Oct 2025 21:14:36 +0800 Subject: [PATCH] chore: update eslint ignorePattern --- eslint.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eslint.config.ts b/eslint.config.ts index 8146350f..8342ff0f 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -94,9 +94,10 @@ export default defineConfig([ "warn", { vars: "all", - varsIgnorePattern: "^_+$", + varsIgnorePattern: "^_", args: "after-used", - argsIgnorePattern: "^_+$", + argsIgnorePattern: "^_", + caughtErrorsIgnorePattern: "^ignore", }, ],