diff --git a/.gitattributes b/.gitattributes
index 39813c758947919e5e14a58b5cae8339aefb6579..81aa4a523c4d714ea0e4b10b28ebfa38e578b09b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,15 +1,5 @@
 # Enforce Unix newlines
-*.css   text eol=lf
-*.html  text eol=lf
-*.js    text eol=lf
-*.json  text eol=lf
-*.md    text eol=lf
-*.rb    text eol=lf
-*.scss  text eol=lf
-*.svg   text eol=lf
-*.txt   text eol=lf
-*.xml   text eol=lf
-*.yml   text eol=lf
+* text=auto eol=lf
 
 # Don't diff or textually merge source maps
 *.map   binary