From b631d638933438dcb334f141479213dd5191e893 Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Sat, 28 Feb 2026 18:16:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0.gitattributes?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=85=8D=E7=BD=AE=E8=A1=8C=E5=B0=BE=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..991c3029 --- /dev/null +++ b/.gitattributes @@ -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