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 | |
8 | indent_size = 2 | |
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 FS |
18 | |
19 | # Make these match what we have in .gitattributes | |
20 | [*.mk] | |
21 | end_of_line = lf | |
22 | ||
23 | [Makefile] | |
24 | end_of_line = lf | |
25 | ||
26 | [*.sh] | |
27 | end_of_line = lf | |
28 | ||
29 | # The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files | |
30 | ||
31 | ||
32 | # We don't have gitattributes properly for these | |
33 | # So if the user have for example core.autocrlf set to true | |
34 | # the line endings would be wrong. | |
35 | [lib/**] | |
36 | end_of_line = unset |