@@ -3,3 +3,16 @@
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/docs export-ignore
+
+# 统一换行符,避免仅 CRLF/LF 差异被 Git 识别为修改
+* text=auto
+*.php text eol=lf
+*.js text eol=lf
+*.json text eol=lf
+*.md text eol=lf
+*.yml text eol=lf
+*.yaml text eol=lf
+*.xml text eol=lf
+*.sql text eol=lf