chore: ignore .worktrees/ in the repo gitignore (#4334)
⚒️ Publish Worker (v4) / build (supervisor) (push) Has been cancelled

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.
This commit is contained in:
nicktrn
2026-07-22 13:38:20 +01:00
committed by GitHub
parent 84add4ad3d
commit 14fa90672b
+3
View File
@@ -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/