From 14fa90672b59c5d9d030074cb848ba3521f2c046 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Wed, 22 Jul 2026 13:38:20 +0100 Subject: [PATCH] chore: ignore .worktrees/ in the repo gitignore (#4334) Add `.worktrees/` to the repo `.gitignore`. The pre-push hook runs `oxfmt --check .` and `oxlint .` over the whole tree, and those tools only read the in-repo ignore files (not a user's global gitignore). Local git-worktree checkouts placed under `.worktrees/` therefore got linted/formatted, failing the hook on unrelated code. Ignoring the directory keeps both tools out of worktree checkouts. No source changes. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index c1fe31033..1ee5643d5 100644 --- a/.gitignore +++ b/.gitignore @@ -76,3 +76,6 @@ apps/**/public/build ailogger-output.log # per-package vitest timing capture (transient; merged into root test-timings.json) .vitest-timing.json + +# local git worktree checkouts (not source) — keeps oxfmt/oxlint from descending into them +.worktrees/