From d39c91fc45335e790572dac0cc28d170fc5a9677 Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Wed, 11 Nov 2026 02:02:04 +0900 Subject: [PATCH] build(lint): set no-unused-vars ignoreRestSiblings Allow the key-omitting pattern const { password, ...safeUser } = user. Every TypeScript repo now configures the rule the same way. 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 9bca151..851452f 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -14,6 +14,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",