Opened 9 years ago
Closed 9 years ago
#40946 closed task (blessed) (fixed)
Update `.editorconfig` and `*.json` files to use tabs for indentation
| Reported by: | netweb | Owned by: | pento |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
When the .editorconfig file was added in [27198] it included the option to indent *.json files with 2 spaces, this was inherited from the jQuery projects .editorconfig
There's no inherent reason(note) to require this, see https://stackoverflow.com/a/18698771/1911294
Originally discussed here https://github.com/WordPress/gutenberg/pull/1029#issuecomment-306362413
Note: An existing issue with npm 3 and 4 causes indentation issues, as such package.json needs to remain indented with spaces until WordPress chooses to use npm 5 as the required minimum.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 41835: