summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..0a93060a
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,22 @@
1root = true
2
3[*]
4end_of_line = lf
5insert_final_newline = true
6trim_trailing_whitespace = true
7
8[*.{c,h}]
9indent_style = space
10indent_size = 4
11
12[*.{yml,sh,cmake}]
13indent_style = space
14indent_size = 2
15
16[Makefile]
17indent_style = tab
18indent_size = 4
19
20[CMakeLists.txt]
21indent_style = space
22indent_size = 2