From f4dd72683b96083dde62a4f678287796fdcce1c2 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Fri, 9 Oct 2015 05:05:17 -0400 Subject: [PATCH] Enforce Unix line endings on JS files. Sidestep finnicky line-ending behaviors on OS X and NPM registry. --- .gitattributes | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index bdb0cab..f252580 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,7 @@ # Auto detect text files and perform LF normalization * text=auto - -# Custom for Visual Studio -*.cs diff=csharp +*.js text eol=lf +*.json text eol=lf # Standard to msysgit *.doc diff=astextplain