Browse Source

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

COBCO IT 3 days ago
parent
commit
4afac2d7e3
1 changed files with 11 additions and 0 deletions
  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