summaryrefslogtreecommitdiffstats
path: root/docs/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'docs/.editorconfig')
-rw-r--r--docs/.editorconfig34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/.editorconfig b/docs/.editorconfig
new file mode 100644
index 0000000000..17581eef54
--- /dev/null
+++ b/docs/.editorconfig
@@ -0,0 +1,34 @@
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.go]
+indent_style = tab
+indent_size = 8
+
+[*.{tmpl,html}]
+indent_style = tab
+indent_size = 4
+
+[*.{less}]
+indent_style = space
+indent_size = 4
+
+[*.{yml}]
+indent_style = space
+indent_size = 2
+
+[*.js]
+indent_style = space
+indent_size = 4
+
+[Makefile]
+indent_style = tab
+
+[*.md]
+trim_trailing_whitespace = false