Skip to content

[housekeeping] : .vscode/ editor settings and tsconfig.tsbuildinfo build cache are committed to git #1934

Description

@prince-pokharna

Describe the bug

Two categories of generated/machine-specific files are tracked in the repository:

File/Directory What it is Why it should not be tracked
.vscode/ VS Code workspace settings Forces editor preferences on contributors using Cursor, IntelliJ, Neovim, or any other editor
tsconfig.tsbuildinfo TypeScript incremental compilation cache Auto-regenerated on every tsc build; contains machine-specific absolute paths; causes spurious diffs on every compile

tsconfig.tsbuildinfo in particular causes unnecessary diff noise in PRs for any contributor who runs npm run build locally, as TypeScript updates it with the local machine's absolute path.

Proposed Fix

git rm --cached .vscode/
git rm --cached tsconfig.tsbuildinfo

Add to .gitignore:
Editor settings (use .editorconfig for shared rules)
.vscode/
.idea/
TypeScript build cache
*.tsbuildinfo

Labels: housekeeping, good first issue

Metadata

Metadata

Labels

Type

Fields

No fields configured for Bug.

Projects

Status
Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions