# 默认行为：LF 换行
* text=auto eol=lf

# 文本文件强制 LF
*.go       text eol=lf
*.js       text eol=lf
*.css      text eol=lf
*.html     text eol=lf
*.json     text eol=lf
*.md       text eol=lf
*.xml      text eol=lf
*.yml      text eol=lf
*.yaml     text eol=lf
*.sh       text eol=lf
Dockerfile text eol=lf
Makefile   text eol=lf
go.mod     text eol=lf
go.sum     text eol=lf

# Windows 特定文件用 CRLF
*.bat      text eol=crlf

# 二进制文件
*.png      binary
*.jpg      binary
*.jpeg     binary
*.gif      binary
*.ico      binary
*.wasm     binary