From b46237296e7dd61590f786e0ca79666a3bef8c0e Mon Sep 17 00:00:00 2001 From: icarus Date: Sat, 27 Sep 2025 15:52:03 +0800 Subject: [PATCH] style: change no-unused-vars rule from error to warn --- .oxlintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index 0a6a9764b7..5bd988159a 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -117,7 +117,7 @@ "no-unused-expressions": "off", // this rule disallow us to use expression to call function, like `condition && fn()` "no-unused-labels": "error", "no-unused-private-class-members": "error", - "no-unused-vars": ["error", { "caughtErrors": "none" }], + "no-unused-vars": ["warn", { "caughtErrors": "none" }], "no-useless-backreference": "error", "no-useless-catch": "error", "no-useless-escape": "error",