chore: add .gitattributes to ensure JS/JSON files are treated as text

This commit is contained in:
spider-yamet 2026-01-26 06:56:16 -08:00
parent 7dfaf6beb3
commit 6ddeef4ea7

9
.gitattributes vendored Normal file
View file

@ -0,0 +1,9 @@
# Force text files to use LF line endings
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.txt text eol=lf
# Explicitly mark these files as text
main/xiaozhi-server/test/js/**/*.js text eol=lf
main/xiaozhi-server/test/js/**/*.json text eol=lf