Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Enforce LF endings across all text files
* text=auto eol=lf

# --- TypeScript & JavaScript ---
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf

# --- CSS ---
*.css text eol=lf

# --- Shell Scripts ---
*.sh text eol=lf

# --- SQL (PL/pgSQL scripts) ---
*.sql text eol=lf

# --- Docker ---
Dockerfile* text eol=lf
*.dockerignore text eol=lf

# --- Config & Markup ---
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.env text eol=lf
*.md text eol=lf
*.toml text eol=lf
*.html text eol=lf
*.xml text eol=lf

# --- Binary files (no line ending normalization) ---
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.pdf binary