summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>2022-09-27 16:08:27 +0000
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>2022-09-27 16:08:27 +0000
commitc0e825b3388736bb0ea55a72b7a69b5189b84154 (patch)
treedf10d82cddc94f08a3ca2a1cca6df6ca59b13d44
parent77ad4fb7c777a9a671b2df6208dc214f6a847617 (diff)
Add top-level .editorconfig file
This allows several editors to automatically use the correct settings when editing this project's files. Some editors have native support for this format, while others need a plugin. See the following URL for more information: https://editorconfig.org/ Change-Id: I1de28fff1f6145299496ca0354dc12c1a4269ecb
-rw-r--r--.editorconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..531465e1
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,17 @@
+# This file helps editors auto-configure whitespace settings.
+#
+# See here for more information about the format and editor support:
+#
+# https://editorconfig.org/
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+tab_width = 8
+
+# Shell
+[*.{sh,conf}]
+indent_style = tab
+indent_size = 4