# Auto detect text files and perform LF normalization * text=auto # Shell scripts should always use LF *.sh text eol=lf # Windows batch files should use CRLF *.bat text eol=crlf *.cmd text eol=crlf # JSON, JavaScript, TypeScript should use LF *.json text eol=lf *.js text eol=lf *.ts text eol=lf *.jsx text eol=lf *.tsx text eol=lf # Markdown and documentation should use LF *.md text eol=lf *.txt text eol=lf # Binary files *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.pdf binary *.woff binary *.woff2 binary *.ttf binary *.otf binary