From eee2bffaf0be7ff9865bbcd7dc3f6786930be336 Mon Sep 17 00:00:00 2001 From: Blake Grotewold Date: Tue, 10 Feb 2015 09:59:00 -0500 Subject: [PATCH 1/2] Add convention pieces. jshintrc and gitattributes --- .gitattributes | 15 +++++++++++++++ .jshintrc | 5 +++++ 2 files changed, 20 insertions(+) create mode 100644 .gitattributes create mode 100644 .jshintrc diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dec18e0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +# Default +* text=auto + +# Mandate conversion to LF (unix) line endings. +*.js text eol=lf +*.css text eol=lf +*.html text eol=lf +*.md text eol=lf +*.py text eol=lf + +# Binary files so don't modify +*.ico binary +*.png binary +*.jpg binary +*.xlsx binary diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..0be2ce1 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,5 @@ +{ + "eqnull": true, + "sub": true, + "multistr": true +} From 06b281fd3c0bac025063eae602a4a3983da1dff1 Mon Sep 17 00:00:00 2001 From: Blake Grotewold Date: Tue, 10 Feb 2015 10:57:10 -0500 Subject: [PATCH 2/2] Remove explicit line endings --- .gitattributes | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index dec18e0..114e2e5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,13 +1,6 @@ # Default * text=auto -# Mandate conversion to LF (unix) line endings. -*.js text eol=lf -*.css text eol=lf -*.html text eol=lf -*.md text eol=lf -*.py text eol=lf - # Binary files so don't modify *.ico binary *.png binary