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

uncrustify-riot.cfg: Don't indent switch cases

`uncrustify` currently enforces that cases in a switch statement are indented,
but the should be on the same level as the switch statement according to the
coding convention. This commit fixes this.
This commit is contained in:
Marian Buschsieweke 2020-07-21 23:49:14 +02:00
parent 659c351c02
commit bb064e0580
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -7,7 +7,7 @@ input_tab_size = 4 # original tab size
output_tab_size = 4 # new tab size
indent_columns = output_tab_size #
indent_label = 1 # pos: absolute col, neg: relative column
indent_switch_case = 4 # number
indent_switch_case = 0 # number
indent_ternary_operator = 2 # When the `:` is a continuation, indent it under `?`
#