From 5da0947edd3598894064ef4738b5941c32c99698 Mon Sep 17 00:00:00 2001 From: Resi Respati Date: Sat, 28 Nov 2015 01:15:32 +0700 Subject: [PATCH] editorconfig updates * Define `indent_size` so it will indent properly on VSCode * `package.json` always uses 2-space indentation --- .editorconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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