Commit | Line | Data |
---|---|---|
6169cd52 LO |
1 | # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs |
2 | # editorconfig.org | |
3 | ||
4 | root = true | |
5 | ||
6 | [*] | |
7 | indent_style = space | |
068571b9 | 8 | indent_size = 4 |
6169cd52 LO |
9 | |
10 | # We recommend you to keep these unchanged | |
6169cd52 LO |
11 | charset = utf-8 |
12 | trim_trailing_whitespace = true | |
13 | insert_final_newline = true | |
14 | ||
15 | [*.md] | |
16 | trim_trailing_whitespace = false | |
17 | indent_size = 4 | |
e7bb9754 | 18 | |
a25dd58b | 19 | [{qmk,*.py}] |
20 | charset = utf-8 | |
21 | max_line_length = 200 | |
22 | ||
e7bb9754 FS |
23 | # Make these match what we have in .gitattributes |
24 | [*.mk] | |
25 | end_of_line = lf | |
da864840 | 26 | indent_style = tab |
e7bb9754 FS |
27 | |
28 | [Makefile] | |
29 | end_of_line = lf | |
da864840 | 30 | indent_style = tab |
e7bb9754 FS |
31 | |
32 | [*.sh] | |
33 | end_of_line = lf | |
34 | ||
35 | # The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files | |
36 | ||
37 | ||
38 | # We don't have gitattributes properly for these | |
39 | # So if the user have for example core.autocrlf set to true | |
40 | # the line endings would be wrong. | |
41 | [lib/**] | |
42 | end_of_line = unset |