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.