aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitattributes6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 5296e2723..b7ca95b5b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,5 @@
-* text=auto
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# JS files must always use LF for tools to work
+*.js eol=lf