From eb4db0445bea4a8dff370d80a270765840fcb8ef Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 25 Aug 2020 21:48:53 +0200 Subject: Reindent Less to 2-space (#12602) Reindent and unify codebase to 2-space indentation. --- .editorconfig | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig index 82542ea86d..54738e8838 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,28 +1,22 @@ root = true [*] +indent_style = space +indent_size = 2 +tab_width = 2 +end_of_line = lf charset = utf-8 -insert_final_newline = true trim_trailing_whitespace = true -end_of_line = lf - -[*.md] -trim_trailing_whitespace = false +insert_final_newline = true [*.{go,tmpl,html}] indent_style = tab -indent_size = 2 - -[*.{less,css}] -indent_style = space -indent_size = 4 - -[*.{js,json,yml}] -indent_style = space -indent_size = 2 [Makefile] indent_style = tab [*.svg] insert_final_newline = false + +[*.md] +trim_trailing_whitespace = false -- cgit v1.2.3