From be84dee26b66395218e0c075ba5dcf31397ad1e1 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Sat, 17 Jan 2026 18:51:51 +0100 Subject: [PATCH] Allow unused variables in function headers and caught exceptions (#9588) --- eslint.config.mjs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index b0bea34d9..3a129c6c2 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -290,10 +290,12 @@ js.configs.recommended, "@stylistic/wrap-iife": "off", "@stylistic/wrap-regex": "off", "@stylistic/yield-star-spacing": "error", - yoda: "off", - // temporary rules + "yoda": "off", "no-useless-escape": "off", - "no-unused-vars": "warn", + "no-unused-vars": ["warn", { + "args": "none", + "caughtErrors": "none" + }], "no-empty": "off", "@stylistic/no-extra-semi": "off", "no-redeclare": "off",