# Auto detect text files and perform LF normalization
* text=auto

# Source code - always use LF
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf

# Configuration files - always use LF
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.xml text eol=lf

# Styles - always use LF
*.css text eol=lf
*.scss text eol=lf
*.sass text eol=lf
*.less text eol=lf

# HTML and templates - always use LF
*.html text eol=lf
*.htm text eol=lf
*.svg text eol=lf

# Documentation - always use LF
*.md text eol=lf
*.txt text eol=lf
*.rtf text eol=lf

# Docker and shell scripts - always use LF
Dockerfile text eol=lf
*.dockerfile text eol=lf
*.sh text eol=lf

# Git files - always use LF
.gitattributes text eol=lf
.gitignore text eol=lf
.gitmodules text eol=lf

# Windows script files - use CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf

# Binary files - do not modify
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.pdf binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.zip binary
*.gz binary
*.tar binary
