Skip to content

chore(gitignore): ignore .claude/ and *.tsbuildinfo#14

Open
oratis wants to merge 1 commit into
mainfrom
chore/gitignore-claude-tsbuildinfo-13
Open

chore(gitignore): ignore .claude/ and *.tsbuildinfo#14
oratis wants to merge 1 commit into
mainfrom
chore/gitignore-claude-tsbuildinfo-13

Conversation

@oratis
Copy link
Copy Markdown
Owner

@oratis oratis commented May 20, 2026

Closes #13.

What

Two small additions to .gitignore:

Pattern Why
.claude/ Claude Code's per-user state — settings.local.json (user-specific permission allowlist) + scheduled_tasks.lock (PID file). Currently shows as untracked, so any contributor using Claude Code is one `git add -A` away from leaking their personal config.
*.tsbuildinfo TypeScript's incremental compilation cache. Not generated today (no `incremental: true` in tsconfig), but `.npmignore` already lists it defensively — adding it to `.gitignore` keeps the two files symmetric and future-proofs against enabling incremental later.

Scope

  • One file, two lines added
  • No source touched

🤖 Generated with Claude Code

.claude/ is Claude Code's per-user dev state — settings.local.json
holds the user's local permission allowlist and scheduled_tasks.lock
is a PID file. Contributors using Claude Code can accidentally commit
this stuff with `git add -A`; ignoring it removes the foot-gun.

*.tsbuildinfo is TypeScript's incremental build cache. Not generated
today (tsconfig doesn't set incremental: true), but .npmignore
already excludes it defensively — adding to .gitignore keeps the two
files symmetric and future-proofs against turning incremental on.

Closes #13

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gitignore: missing .claude/ and *.tsbuildinfo

1 participant