2017-12-15 16:37:10 +00:00
|
|
|
# EditorConfig helps developers define and maintain consistent
|
|
|
|
# coding styles between different editors and IDEs
|
|
|
|
# http://editorconfig.org
|
|
|
|
|
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
end_of_line = lf
|
|
|
|
charset = utf-8
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
[{*.md,*.rst}]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
|
|
|
[{Makefile,*.mk,*.bat}]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*/freertos/**]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[{*/freertos/**.S,**/FreeRTOSConfig.h}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[*.pem]
|
|
|
|
insert_final_newline = false
|
|
|
|
|
|
|
|
[*.py]
|
|
|
|
max_line_length = 119
|
2018-02-27 04:45:30 +00:00
|
|
|
|
|
|
|
[{*.cmake,CMakeLists.txt}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
max_line_length = 120
|
2020-09-27 03:20:53 +00:00
|
|
|
|
|
|
|
[{*.sh,*.yml}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|