1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-13 08:40:26 +01:00
RIOT/.editorconfig
Marian Buschsieweke c7b9445da4
.editorconfig: add EditorConfig
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
2024-06-13 18:06:02 +02:00

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