Make WordPress Core

Changeset 41835 for trunk/.jshintrc


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/.jshintrc

    r41752 r41835  
    11{
    2   "boss": true,
    3   "curly": true,
    4   "eqeqeq": true,
    5   "eqnull": true,
    6   "es3": true,
    7   "expr": true,
    8   "immed": true,
    9   "noarg": true,
    10   "nonbsp": true,
    11   "onevar": true,
    12   "quotmark": "single",
    13   "trailing": true,
    14   "undef": true,
    15   "unused": true,
     2    "boss": true,
     3    "curly": true,
     4    "eqeqeq": true,
     5    "eqnull": true,
     6    "es3": true,
     7    "expr": true,
     8    "immed": true,
     9    "noarg": true,
     10    "nonbsp": true,
     11    "onevar": true,
     12    "quotmark": "single",
     13    "trailing": true,
     14    "undef": true,
     15    "unused": true,
    1616
    17   "browser": true,
     17    "browser": true,
    1818
    19   "globals": {
    20     "_": false,
    21     "Backbone": false,
    22     "jQuery": false,
    23     "JSON": false,
    24     "wp": false,
    25     "export": false,
    26     "module": false,
    27     "require": false
    28   }
     19    "globals": {
     20        "_": false,
     21        "Backbone": false,
     22        "jQuery": false,
     23        "JSON": false,
     24        "wp": false,
     25        "export": false,
     26        "module": false,
     27        "require": false
     28    }
    2929}
Note: See TracChangeset for help on using the changeset viewer.