Skip to content

Commit

Permalink
Add .gitattributes (Kong#506)
Browse files Browse the repository at this point in the history
Checkout text files with LF line endings.

This prevents auto conversion from LF to CRLF on windows,
which would break unit tests expecting LF line endings.
  • Loading branch information
Atvaark authored and gschier committed Oct 10, 2017
1 parent de08895 commit b80f757
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
* text eol=lf

*.gif binary
*.icns binary
*.ico binary
*.png binary
*.woff2 binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.idea
.vscode
dist/*
build/*
.DS_Store
Expand Down

0 comments on commit b80f757

Please sign in to comment.