keyboard stuff
1# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
2# editorconfig.org
3
4root = true
5
6[*]
7end_of_line = lf
8indent_style = space
9indent_size = 4
10charset = utf-8
11trim_trailing_whitespace = true
12insert_final_newline = true
13
14 # To match GitHub Actions formatting
15[*.{yaml,yml}]
16indent_size = 2
17
18[*.md]
19trim_trailing_whitespace = false
20
21[{Makefile,*.mk}]
22indent_style = tab
23
24# Don't override anything in `lib/`...
25[lib/**]
26indent_style = unset
27indent_size = unset
28tab_width = unset
29end_of_line = unset
30charset = unset
31spelling_language = unset
32trim_trailing_whitespace = unset
33insert_final_newline = unset
34
35# ...except QMK's `lib/python`.
36[{*.py,lib/python/**.py}]
37end_of_line = lf
38indent_style = space
39indent_size = 4
40charset = utf-8
41trim_trailing_whitespace = true
42insert_final_newline = true
43max_line_length = 200