qmk-keychron-q3-colemak-dh/.editorconfig

43 lines
872 B
INI
Raw Normal View History

# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
2024-03-02 13:23:34 +01:00
end_of_line = lf
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
2024-03-02 13:23:34 +01:00
[{*.yaml,*.yml}] # To match GitHub Actions formatting
indent_size = 2
[*.md]
trim_trailing_whitespace = false
2024-03-02 13:23:34 +01:00
[{Makefile,*.mk}]
indent_style = tab
2024-03-02 13:23:34 +01:00
# Don't override anything in `lib/`...
[lib/**]
2024-03-02 13:23:34 +01:00
indent_style = unset
indent_size = unset
tab_width = unset
end_of_line = unset
2024-03-02 13:23:34 +01:00
charset = unset
spelling_language = unset
trim_trailing_whitespace = unset
insert_final_newline = unset
# ...except QMK's `lib/python`.
[{*.py,lib/python/**.py}]
end_of_line = lf
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 200