Files
Daniel Miessler 04e55aa7e3 fix: Add .gitattributes to enforce LF line endings
Prevents CRLF issues on Windows/WSL where hooks fail with:
  /usr/bin/env: 'bun\r': No such file or directory

This ensures all text files use LF endings regardless of platform.

Fixes #126

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 18:46:00 -08:00

23 lines
433 B
Plaintext

# Auto-detect text files and normalize line endings to LF
* text=auto eol=lf
# Explicitly mark script and config files as text with LF endings
*.ts text eol=lf
*.js text eol=lf
*.sh text eol=lf
*.md text eol=lf
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.html text eol=lf
*.css text eol=lf
*.vue text eol=lf
# Binary files (don't modify)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary