From 9333515ad3e4aed3f6b21b6f7028c49f9ed364c4 Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Wed, 11 Nov 2026 02:01:36 +0900 Subject: [PATCH] build(lint): allow rest siblings in no-unused-vars no-unused-vars is already enabled by the oxlint correctness category. Set ignoreRestSiblings so the key-omitting pattern const { password, ...safeUser } = user is allowed, matching effort-or-luck. Refs furedea/agent-config#74 Co-Authored-By: Claude Sonnet 5.5 --- .oxlintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.oxlintrc.json b/.oxlintrc.json index 27cda36..11eaebe 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -13,6 +13,7 @@ "max-depth": ["error", { "max": 2 }], "max-lines": ["error", { "max": 500 }], "max-params": ["error", { "max": 3 }], + "no-unused-vars": ["warn", { "ignoreRestSiblings": true }], "typescript/await-thenable": "error", "typescript/consistent-type-imports": "error", "typescript/no-explicit-any": "error",