# Line endings — normalize to LF
*                 text=auto eol=lf
*.bat             text eol=crlf
*.cmd             text eol=crlf
*.ps1             text eol=crlf

# Lockfiles are binaries (don't diff them)
package-lock.json -text
pnpm-lock.yaml    -text
yarn.lock         -text
bun.lock          -text
bun.lockb         binary

# Generated / vendored
dist/**           linguist-generated=true
build/**          linguist-generated=true
*.tsbuildinfo     linguist-generated=true
node_modules/**   linguist-generated=true
.vite/**          linguist-generated=true

# Linguist overrides
*.ts              linguist-language=TypeScript
*.tsx             linguist-language=TypeScript