about summary refs log tree commit diff stats
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..13a6a6f
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,19 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[{justfile,go.mod,go.sum,*.go,.gitmodules}]
+indent_style = tab
+
+[*.yaml]
+indent_size = 4
+
+[*.md]
+indent_size = 4
+trim_trailing_whitespace = false