mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-13 08:40:26 +01:00
c7b9445da4
This adds an [EditorConfig][homepage] file in the root of the repo. Most editors support it [natively][native-support] or via a [plugin][plugin-support]. This is particularly useful for occasional contributors, who with this no longer need to configure the editor to properly show and format source code. [homepage]: https://editorconfig.org/ [native-support]: https://editorconfig.org/#pre-installed [plugin-support]: https://editorconfig.org/#download
17 lines
289 B
INI
17 lines
289 B
INI
root = true
|
|
spelling_language = en
|
|
end_of_line = lf
|
|
|
|
[*{.c,.h}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[{Makefile*,*.mk}]
|
|
indent_style = tab
|
|
indent_size = 2
|
|
tab_size = 2
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|