diff options
-rw-r--r-- | .editorconfig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..a1c73fe4 --- /dev/null +++ b/.editorconfig | |||
@@ -0,0 +1,22 @@ | |||
1 | # For the full list of code style requirements, see CONTRIBUTING.md | ||
2 | |||
3 | root = true | ||
4 | |||
5 | [*] | ||
6 | charset = utf-8 | ||
7 | end_of_line = lf | ||
8 | |||
9 | [*.{c,h,cmake,txt}] | ||
10 | indent_style = tab | ||
11 | indent_size = 4 | ||
12 | |||
13 | [*.{xml,yml}] | ||
14 | indent_style = space | ||
15 | indent_size = 2 | ||
16 | |||
17 | [config] | ||
18 | indent_style = space | ||
19 | indent_size = 4 | ||
20 | |||
21 | [*.md] | ||
22 | trim_trailing_whitespace = false | ||