[wp-trac] [WordPress Trac] #40946: Update `.editorconfig` and `*.json` files to use tabs for indentation

WordPress Trac noreply at wordpress.org
Thu Oct 12 01:57:47 UTC 2017


#40946: Update `.editorconfig` and `*.json` files to use tabs for indentation
------------------------------+---------------------
 Reporter:  netweb            |       Owner:  pento
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Changes (by pento):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41835"]:
 {{{
 #!CommitTicketReference repository="" revision="41835"
 General: Remove `.jshintrc` and `*.json` from the 2-space-indent
 `.editorconfig` group.

 JSON files don't need a particular indent style, this was just inherited
 from the jQuery `.editorconfig`, that we based ours on.

 `package.json` is staying in the 2-space-indent group for now, due to npm
 3 and 4 having issues. Upgrading to npm 5 will allow us to remove
 `package.json`, too.

 Props netweb.
 Fixes #40946.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40946#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list