Make WordPress Core

Changeset 41835 for trunk/.editorconfig


Ignore:
Timestamp:
10/12/2017 01:57:45 AM (7 years ago)
Author:
pento
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.editorconfig

    r32116 r41835  
    1414indent_style = tab
    1515
    16 [{.jshintrc,*.json,*.yml}]
     16[{package.json,*.yml}]
    1717indent_style = space
    1818indent_size = 2
Note: See TracChangeset for help on using the changeset viewer.