aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorsilverwind2020-08-25 21:48:53 +0200
committerGitHub2020-08-25 22:48:53 +0300
commiteb4db0445bea4a8dff370d80a270765840fcb8ef (patch)
tree7cde26f9a5cad63b724afc2f4bc541562548e432 /.editorconfig
parente90e122b395f2dc0aff9ee917a7377078c774d31 (diff)
Reindent Less to 2-space (#12602)
Reindent and unify codebase to 2-space indentation.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 8 insertions, 14 deletions
diff --git a/.editorconfig b/.editorconfig
index 82542ea86..54738e883 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