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",