Browse Source

Force LF line endings for source code files

Mario Zechner 2 tháng trước cách đây
mục cha
commit
bd8cb36cec
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      .gitattributes

+ 10 - 0
.gitattributes

@@ -4,6 +4,16 @@
 * text=auto
 
 *.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
 *.mat               merge=unityyamlmerge text eol=lf