Force LF for package-lock.json

Most versions of NPM in use always use LF for line endings anyway.
Forcing LF on windows should limit the number of no-op changes.

This issue has been fixed in NPM
(see https://github.com/npm/npm/issues/1716) but not everyone will have
the fix.
This commit is contained in:
Ryan Nowak 2018-03-21 10:03:19 -07:00
parent 3b5ce7f4a7
commit 635aa55d03
1 changed files with 2 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Force LF for package-lock files - not all version of NPM detect line endings.
package-lock.json text eol=lf