Skip to content

Commit

Permalink
Add .gitattributes to normalize line endings (#797)
Browse files Browse the repository at this point in the history
The .editorconfig requires LF line endings and npm has some line endings bugs so this should make contributing easier for people on Windows.
  • Loading branch information
nwoltman authored and jsumners committed Feb 20, 2018
1 parent a5a2592 commit 034d20f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
@@ -0,0 +1,5 @@
# Set the default behavior, in case people don't have core.autocrlf set
* text=auto

# Require Unix line endings
* text eol=lf

0 comments on commit 034d20f

Please sign in to comment.