summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 6a1922ac7..8c626c425 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -14,6 +14,14 @@ charset = utf-8
# code formatter accepts length of 120, but editor should prefer 80
max_line_length = 80
+[{*.sh,manage}]
+indent_style = space
+indent_size = 4
+
+# shfmt options
+shell_variant = bash
+switch_case_indent = true
+
[*.html]
# in the jinja templates we use indent size of 2 and we do not use tabs
indent_size = 2