summaryrefslogtreecommitdiff
path: root/uncrustify.cfg
Commit message (Collapse)AuthorAgeFilesLines
* Updates for Coding Styles (#425)Bui Nguyen Quoc Thanh2022-12-141-2736/+0
| | | | | | | - Remove uncrustify - Use clang-format and pre-commit hooks script - Update README accordingly Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
* Update uncrustifyKHANH LUONG HONG DUY2021-06-301-0/+2736
Remove indentation of preprocessor directives inside #if blocks Remove space after # of #if blocks Remove newline between '}' and 'else' Remove newline between 'else if' and '{' Remove space inside braces Remove blank lines before '}' Ignore braces on single-line of 'while' statement Change code width to 100 columns Add aligning all preprocessors Add the span for aligning comments that end lines to 2 Add spaces to indent 'case' from 'switch' to 4 Add braces on a single-line 'do', 'while', 'for', 'if' statement Add braces to all blocks of an 'if'/'else if'/'else' chain Signed-off-by: KHANH LUONG HONG DUY <khanh.luonghongduy@vn.bosch.com>