# Windows 批处理必须是 CRLF：cmd.exe 在纯 LF 下可能解析不了标签（:label）与多行 if 块
*.bat text eol=crlf
*.cmd text eol=crlf

# 其余文本统一 LF，避免跨平台 diff 噪声
*.go    text eol=lf
*.ts    text eol=lf
*.vue   text eol=lf
*.css   text eol=lf
*.html  text eol=lf
*.json  text eol=lf
*.yaml  text eol=lf
*.yml   text eol=lf
*.md    text eol=lf
*.nsh   text eol=crlf

# 二进制资源不做行尾转换
*.png binary
*.ico binary
*.woff2 binary
*.zip binary
*.exe binary
