chore: ignore .worktrees/ in the repo gitignore (#4334)
⚒️ Publish Worker (v4) / build (supervisor) (push) Has been cancelled
⚒️ 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:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user