Skip to content
This repository was archived by the owner on May 14, 2019. It is now read-only.

Commit 064380a

Browse files
committed
chore(git): Add git attributes file for LF, CRLF handling
Instead of setting core.autocrlf for each and every user, who may or may not know git well enough to set it beforehand, this git attributes file takes care of the CRLF behavior for js source files such that eslint does not crib and autocrlf ensures no windows line ending make it into git
1 parent 1293135 commit 064380a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
*.js text eol=lf

0 commit comments

Comments
 (0)