Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-12-06 14:20:30 +0200
committernl6720 <nl6720@gmail.com>2023-06-15 15:12:28 +0300
commit28a3a54c5f28e40a935609de9b092fe0c1cfee24 (patch)
treed65be4ebbacca79c995bc2ae8133455717be7352 /.editorconfig
parent40dbfcfaf0a06a5c8e92a1d5183d8ae4e4634835 (diff)
Fix optional shellcheck warnings
Additionally fix a few code style issues found with shfmt.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index 74ed4eb..cbb5538 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -16,6 +16,10 @@ charset = utf-8
indent_style = space
indent_size = 4
max_line_length = 120
+# for shfmt
+switch_case_indent = true
+binary_next_line = true
+
[*.{yml,yaml}]
end_of_line = lf
@@ -32,3 +36,6 @@ trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 2
+
+[Makefile]
+indent_style = tab