diff options
author | Resi Respati <resir014@gmail.com> | 2015-11-27 21:15:32 +0300 |
---|---|---|
committer | Resi Respati <resir014@gmail.com> | 2015-11-27 21:15:32 +0300 |
commit | 5da0947edd3598894064ef4738b5941c32c99698 (patch) | |
tree | ea1a9bdc35390fbe412be02fc4b542d1bbfdc151 /.editorconfig | |
parent | b68a923c8dd2a5444ce46432ce4bd6f4fd2499eb (diff) |
editorconfig updates
* Define `indent_size` so it will indent properly on VSCode
* `package.json` always uses 2-space indentation
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig index 361c815c1a7..763de517a34 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,7 +6,10 @@ root = true # Tab indentation (no size specified) [*] indent_style = tab +indent_size = 4 -[{.travis.yml,npm-shrinkwrap.json}] +# The indent size used in the `package.json` file cannot be changed +# https://github.com/npm/npm/pull/3180#issuecomment-16336516 +[{.travis.yml,npm-shrinkwrap.json,package.json}] indent_style = space indent_size = 2 |