Skip to content

Commit

Permalink
Enforce package.json checkout with LF line-endings (DefinitelyTyped#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikhr authored and Andy committed Mar 23, 2018
1 parent 7a7e886 commit 75ff0e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Auto detect text files and perform LF normalization
* text=auto

# Checkout NPM package files with forced LF lineendings
# to prevent git conflicts when running npm commands
package.json text eol=lf
package-lock.json text eol=lf

0 comments on commit 75ff0e9

Please sign in to comment.