summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig15
1 files changed, 3 insertions, 12 deletions
diff --git a/.editorconfig b/.editorconfig
index 15a88a14eb..5b3a4ff79f 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,4 +1,3 @@
-# http://editorconfig.org
root = true
[*]
@@ -10,23 +9,15 @@ end_of_line = lf
[*.md]
trim_trailing_whitespace = false
-[*.go]
-indent_style = tab
-indent_size = 8
-
-[*.{tmpl,html}]
+[*.{go,tmpl,html}]
indent_style = tab
indent_size = 4
-[*.less]
+[*.{less,css}]
indent_style = space
indent_size = 4
-[*.{yml,json}]
-indent_style = space
-indent_size = 2
-
-[*.js]
+[*.{js,json,yml}]
indent_style = space
indent_size = 2