浏览代码

chore: enforce LF line endings (gitattributes) for portable shell/python

COBCO IT 3 天之前
父节点
当前提交
4afac2d7e3
共有 1 个文件被更改,包括 11 次插入 和 0 次删除
  1. 11 0
      .gitattributes

+ 11 - 0
.gitattributes

@@ -0,0 +1,11 @@
+# Normalise to LF everywhere so shell/python deployed on Linux keep working.
+* text=auto eol=lf
+*.sh  text eol=lf
+*.py  text eol=lf
+*.php text eol=lf
+*.js  text eol=lf
+*.css text eol=lf
+*.json text eol=lf
+*.md  text eol=lf
+*.yaml text eol=lf
+*.yml text eol=lf