]> git.donarmstrong.com Git - qmk_firmware.git/blob - .editorconfig
[Keyboard] Snagpad Configurator bugfix and readme refactor (#6381)
[qmk_firmware.git] / .editorconfig
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 = 4
9
10 # We recommend you to keep these unchanged
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
18
19 [{qmk,*.py}]
20 charset = utf-8
21 max_line_length = 200
22
23 # Make these match what we have in .gitattributes
24 [*.mk]
25 end_of_line = lf
26 indent_style = tab
27
28 [Makefile]
29 end_of_line = lf
30 indent_style = tab
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