aboutsummaryrefslogtreecommitdiff
path: root/editorconfig/dot-editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'editorconfig/dot-editorconfig')
-rw-r--r--editorconfig/dot-editorconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/editorconfig/dot-editorconfig b/editorconfig/dot-editorconfig
new file mode 100644
index 0000000..233b465
--- /dev/null
+++ b/editorconfig/dot-editorconfig
@@ -0,0 +1,26 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false
+
+[Makefile]
+indent_style = tab
+
+[{*.go,go.mod}]
+indent_style = tab
+
+[{*.rb,*.rake,Rakefile,Gemfile,*.gemspec,config.ru}]
+indent_size = 2
+
+[*.{html,css}]
+indent_size = 2
+
+[*.{yml,yaml}]