1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
Marian Buschsieweke
30a3057bdb
.clang-format: Set ColumnLimit to 0
This disables adding/removing line breaks by `clang-format`, as this
could very well introduce regressions in code formatting in terms of
our coding convention: If a long array was matching the soft limit of 80
chars per line, `clang-format` would reflow it to match the hard limit
of 100 chars.

One can selectively disable `clang-format` with magic comments. But at
this point, I'd say we should rather disable this feature until we
can configure it in a way to match our coding convention better (without
having to add magic comments).
2024-11-07 16:16:04 +01:00
Marian Buschsieweke
e7c91fad05
.clang-format: Add default clang-format configuration
This adds a clang-format configuration based on the Linux Kernel
configuration and modified to better match RIOT's coding convention.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-10-16 10:58:55 +02:00