diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..b5a9b28ca --- /dev/null +++ b/.gitattributes @@ -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