summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig30
1 files changed, 28 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index 4fa38d5..6ef3c82 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,5 +1,7 @@
-# EditorConfig configuration for archiso
-# http://EditorConfig.org
+# EditorConfig for parabolaiso
+# https://editorconfig.org/
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
# Top-most EditorConfig file
root = true
@@ -13,3 +15,27 @@ trim_trailing_whitespace = true
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
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = space
+indent_size = 2
+
+[*.rst]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = space
+indent_size = 2
+
+[Makefile]
+indent_style = tab