Skip to content

Commit 5da0947

Browse files
committed
editorconfig updates
* Define `indent_size` so it will indent properly on VSCode * `package.json` always uses 2-space indentation
1 parent b68a923 commit 5da0947

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ root = true
66
# Tab indentation (no size specified)
77
[*]
88
indent_style = tab
9+
indent_size = 4
910

10-
[{.travis.yml,npm-shrinkwrap.json}]
11+
# The indent size used in the `package.json` file cannot be changed
12+
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
13+
[{.travis.yml,npm-shrinkwrap.json,package.json}]
1114
indent_style = space
1215
indent_size = 2

0 commit comments

Comments
 (0)