From 60c5477de03e01214a9f39751e3bf1999bc60c90 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Thu, 3 Nov 2016 17:13:40 -0700 Subject: [PATCH] EditorConfig updates (#3537) [ckip ci] * editorconfig updates * add json & yml ident_size=2 to editorconfig [skip ci] --- .editorconfig | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index c801fc2a0b5..d4a00b0b0fd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,16 @@ -[*.{js,html}] +# editorconfig.org +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +charset = utf-8 + +[*.{js,html,css}] indent_style = space indent_size = 4 -trim_trailing_whitespace = true + +[*.{json,yml}] +indent_style = space +indent_size = 2