diff --git a/.gitattributes b/.gitattributes
index f8bdd60f493658c685ae9aa58bc63f4c4ce44789..1c8c82d8f1233e726a8d8b6d51904a2298769808 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,8 +1,8 @@
-*.txt   text
-*.js    text
-*.html  text
-*.md    text
-*.json  text
-*.yml   text
-*.css   text
-*.svg   text
+*.txt   text eol=lf
+*.js    text eol=lf
+*.html  text eol=lf
+*.md    text eol=lf
+*.json  text eol=lf
+*.yml   text eol=lf
+*.css   text eol=lf
+*.svg   text eol=lf