From a645632b23624e84e24ee08be8ddb2c1311740ad Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Wed, 28 Oct 2026 08:24:06 +0800 Subject: [PATCH] chore(lint): Skip agent worktrees under .claude --- eslint.config.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 0c59b7c3e..1e2febedd 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -3,7 +3,21 @@ import tseslint from "typescript-eslint"; import reactHooks from "eslint-plugin-react-hooks"; export default tseslint.config( - { ignores: ["dist", "target", "src-tauri", "crates", "src/bindings.ts", "fixtures", "plugins", "test-results", "playwright-report"] }, + { + ignores: [ + "dist", + "target", + "src-tauri", + "crates", + "src/bindings.ts", + "fixtures", + "plugins", + "test-results", + "playwright-report", + // Agent worktrees: whole checkouts of the repo. + ".claude", + ], + }, js.configs.recommended, ...tseslint.configs.recommended, {