Skip to content

Commit

Permalink
make format-package-lock default
Browse files Browse the repository at this point in the history
  • Loading branch information
bl00mber committed Sep 9, 2019
1 parent 7fb1cbd commit b2e2fa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/misc/npm-config.md
Expand Up @@ -389,14 +389,14 @@ Makes various commands more forceful.

### format-package-lock

* Default: false
* Default: true
* Type: Boolean

Format `package-lock.json` as a human readable file.

### format-shrinkwrap

* Default: false
* Default: true
* Type: Boolean

Format `npm-shrinkwrap.json` as a human readable file.
Expand Down
4 changes: 2 additions & 2 deletions lib/config/defaults.js
Expand Up @@ -141,8 +141,8 @@ Object.defineProperty(exports, 'defaults', {get: function () {
editor: osenv.editor(),
'engine-strict': false,
force: false,
'format-package-lock': false,
'format-shrinkwrap': false,
'format-package-lock': true,
'format-shrinkwrap': true,

'fetch-retries': 2,
'fetch-retry-factor': 10,
Expand Down

0 comments on commit b2e2fa4

Please sign in to comment.