# Keep repository text normalized to LF unless a file format is known to require CRLF. * text=auto eol=lf # Solution and Windows-native scripts are more interoperable when they keep CRLF in the working tree. *.sln text eol=crlf *.bat text eol=crlf *.cmd text eol=crlf *.ps1 text eol=crlf # Source, config, scripts, and documentation stay LF across WSL and Windows editors. *.sh text eol=lf *.cs text eol=lf *.csproj text eol=lf *.props text eol=lf *.targets text eol=lf *.json text eol=lf *.yml text eol=lf *.yaml text eol=lf *.md text eol=lf *.ts text eol=lf *.js text eol=lf *.mts text eol=lf *.vue text eol=lf *.css text eol=lf # Common binary assets should never be line-normalized. *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.zip binary *.dll binary *.so binary *.pdb binary