Opened 7 years ago
Closed 7 years ago
#40946 closed task (blessed) (fixed)
Update `.editorconfig` and `*.json` files to use tabs for indentation
Reported by: | netweb | Owned by: | pento |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Focuses: | Cc: |
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.
Attachments (1)
Change History (6)
This ticket was mentioned in Slack in #core by melchoyce. View the logs.
7 years ago
Note: See
TracTickets for help on using
tickets.
In 41835: