From c59806c87d543c7cc78d1d68af9599d118c0cb2b Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Fri, 17 Dec 2021 09:54:32 -0500 Subject: [PATCH] Set default editorconfig to indent_size=2 Prettier already formats the code like that, so it causes a mismatch for devs using editorconfig as well. --- .editorconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index eba264699..82cfa5425 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,12 +2,9 @@ root = true [*] indent_style = space -indent_size = 4 +indent_size = 2 trim_trailing_whitespace = true insert_final_newline = true -[package.json] -indent_size = 2 - [md] trim_trailing_whitespace = false