chore: 添加.gitattributes文件配置行尾符

This commit is contained in:
Ray.Hao
2026-02-28 18:16:18 +08:00
parent ecdc22969d
commit b631d63893

27
.gitattributes vendored Normal file
View File

@@ -0,0 +1,27 @@
# Auto detect text files and perform LF normalization
* text=auto eol=lf
# Source files
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.vue text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf
# Config files
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
# Styling
*.css text eol=lf
*.scss text eol=lf
*.less text eol=lf
# Documentation
*.md text eol=lf
# Shell scripts
*.sh text eol=lf