Files
new-api/.gitattributes
2026-02-25 14:55:33 +08:00

43 lines
841 B
Plaintext

# Auto detect text files and perform LF normalization
* text=auto
# Go files
*.go text eol=lf
# Config files
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.toml text eol=lf
*.md text eol=lf
# JavaScript/TypeScript files
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.html text eol=lf
*.css text eol=lf
# Shell scripts
*.sh text eol=lf
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
# ============================================
# GitHub Linguist - Language Detection
# ============================================
electron/** linguist-vendored
web/** linguist-vendored
# Un-vendor core frontend source to keep JavaScript visible in language stats
web/src/components/** linguist-vendored=false
web/src/pages/** linguist-vendored=false