[wp-trac] [WordPress Trac] #43075: Use tabs for indentation in `package.json`

WordPress Trac noreply at wordpress.org
Fri Jan 12 04:21:12 UTC 2018


#43075: Use tabs for indentation in `package.json`
------------------------------+-----------------
 Reporter:  netweb            |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  5.0
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------
 Tabbed indentation is now supported by npm 5.x for `package.json`,
 `package-lock.json` and `npm-shrinkwrap.json` files via:
 http://blog.npmjs.org/post/161081169345/v500 - npm v5.0.0
 > ''Indentation is now detected and preserved for `package.json`,
 `package-lock.json`, and `npm-shrinkwrap.json`. If the package lock is
 missing, it will default to `package.json`’s current indentation.''

 As part of #35105 (updated patch pending) for WP 5.0 the npm and Node.js
 versions will be bumped to npm 5.x and Node.js 8.x LTS respectively as the
 official supported versions for WordPress' build tools.

 This change to the indentation of npm files further simplifies WordPress'
 codebase to use ''tabs'' for indentation in files where possible.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43075>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list