summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Moeller <jan.moeller0@gmail.com>2021-12-08 00:50:42 +0100
committerJoe Hillenbrand <joehillen@gmail.com>2021-12-12 16:17:21 -0800
commitc4eda8989bb9e45a90e1a8fe49ea15ebfce11b70 (patch)
tree09bef015e5ee400d9089d8c35e8ed0e72709ee7c
parentbee0dc3a2c8ea7f15692a5f2de8a51cf098a8f10 (diff)
Add .editorconfig
-rw-r--r--.editorconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..e773bb1
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,8 @@
+[*]
+indent_style = space
+indent_size = 2
+
+# shfmt options
+# https://github.com/mvdan/sh/blob/master/cmd/shfmt/shfmt.1.scd
+shell_variant = bash
+switch_case_indent = false