Tomas KlingenThoughts

NPM package-lock.json formatting follows package.json

TIL:

When npm creates or updates package-lock.json, it will infer line endings and indentation from package.json so that the formatting of both files matches.

From: NPM Docs