summaryrefslogtreecommitdiffhomepage
path: root/.editorconfig
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-01-16 14:20:43 +0100
committerJo-Philipp Wich <jo@mein.io>2023-01-16 14:22:26 +0100
commit1c8df08824ef80eef4c2a4681ac2d2a1d43e7336 (patch)
tree5e2c3a862ff6ec121c5dafacfb3384e10835a0db /.editorconfig
parent8dad974baa4696fcba85837fa70cde8b68dd7c12 (diff)
style: add .editorconfig file
Add an `.editorconfig` file to the source root in order to document the preferred source code indentation style. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..c881546
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+charset = utf-8
+indent_size = 4
+indent_style = tab
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true