2017-10-31 21:13:40 +06:00
|
|
|
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
|
|
|
|
# editorconfig.org
|
|
|
|
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
2019-04-19 04:59:51 +06:00
|
|
|
indent_size = 4
|
2017-10-31 21:13:40 +06:00
|
|
|
|
|
|
|
# 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
|
2018-02-03 21:47:28 +06:00
|
|
|
|
2019-07-16 01:14:27 +06:00
|
|
|
[{qmk,*.py}]
|
|
|
|
charset = utf-8
|
|
|
|
max_line_length = 200
|
|
|
|
|
2018-02-03 21:47:28 +06:00
|
|
|
# Make these match what we have in .gitattributes
|
|
|
|
[*.mk]
|
|
|
|
end_of_line = lf
|
2019-07-05 10:36:50 +06:00
|
|
|
indent_style = tab
|
2018-02-03 21:47:28 +06:00
|
|
|
|
|
|
|
[Makefile]
|
|
|
|
end_of_line = lf
|
2019-07-05 10:36:50 +06:00
|
|
|
indent_style = tab
|
2018-02-03 21:47:28 +06:00
|
|
|
|
|
|
|
[*.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
|