diff options
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 22 |
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 @@ | |||
1 | root = true | ||
2 | |||
3 | [*] | ||
4 | end_of_line = lf | ||
5 | insert_final_newline = true | ||
6 | trim_trailing_whitespace = true | ||
7 | |||
8 | [*.{c,h}] | ||
9 | indent_style = space | ||
10 | indent_size = 4 | ||
11 | |||
12 | [*.{yml,sh,cmake}] | ||
13 | indent_style = space | ||
14 | indent_size = 2 | ||
15 | |||
16 | [Makefile] | ||
17 | indent_style = tab | ||
18 | indent_size = 4 | ||
19 | |||
20 | [CMakeLists.txt] | ||
21 | indent_style = space | ||
22 | indent_size = 2 | ||