mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 21:08:38 +06:00
a25dd58bc5
* Script to generate keymap.c from JSON file. * Support for keymap.json * Add a warning about the keymap.c getting overwritten. * Fix keymap generating * Install the python deps * Flesh out more of the python environment * Remove defunct json2keymap * Style everything with yapf * Polish up python support * Hide json keymap.c into the .build dir * Polish up qmk-compile-json * Make milc work with positional arguments * Fix a couple small things * Fix some errors and make the CLI more understandable * Make the qmk wrapper more robust * Add basic QMK Doctor * Clean up docstrings and flesh them out as needed * remove unused compile_firmware() function
43 lines
891 B
INI
43 lines
891 B
INI
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
|
|
# editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# We recommend you to keep these unchanged
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
indent_size = 4
|
|
|
|
[{qmk,*.py}]
|
|
charset = utf-8
|
|
max_line_length = 200
|
|
|
|
# Make these match what we have in .gitattributes
|
|
[*.mk]
|
|
end_of_line = lf
|
|
indent_style = tab
|
|
|
|
[Makefile]
|
|
end_of_line = lf
|
|
indent_style = tab
|
|
|
|
[*.sh]
|
|
end_of_line = lf
|
|
|
|
# The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files
|
|
|
|
|
|
# We don't have gitattributes properly for these
|
|
# So if the user have for example core.autocrlf set to true
|
|
# the line endings would be wrong.
|
|
[lib/**]
|
|
end_of_line = unset
|