From 6ddeef4ea72e657b603bdc7abdc107d3b414f9c6 Mon Sep 17 00:00:00 2001 From: spider-yamet Date: Mon, 26 Jan 2026 06:56:16 -0800 Subject: [PATCH] chore: add .gitattributes to ensure JS/JSON files are treated as text --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes 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