瀏覽代碼

Force LF line endings for source code files

Mario Zechner 1 月之前
父節點
當前提交
bd8cb36cec
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      .gitattributes

+ 10 - 0
.gitattributes

@@ -4,6 +4,16 @@
 * text=auto
 * text=auto
 
 
 *.sh         text eol=lf
 *.sh         text eol=lf
+*.java       text eol=lf
+*.cs         text eol=lf
+*.ts         text eol=lf
+*.js         text eol=lf
+*.cpp        text eol=lf
+*.h          text eol=lf
+*.c          text eol=lf
+*.dart       text eol=lf
+*.hx         text eol=lf
+*.swift      text eol=lf
 
 
 # Unity specific
 # Unity specific
 *.mat               merge=unityyamlmerge text eol=lf
 *.mat               merge=unityyamlmerge text eol=lf