mirror of
https://github.com/nanomq/nanomq.git
synced 2025-05-04 03:06:43 +00:00
add .clang-format
This commit is contained in:
parent
b695ed178c
commit
1c01138ece
14
.clang-format
Normal file
14
.clang-format
Normal file
@ -0,0 +1,14 @@
|
||||
BasedOnStyle: WebKit
|
||||
UseTab: ForIndentation
|
||||
IndentWidth: 8
|
||||
ColumnLimit: 79
|
||||
AlignConsecutiveAssignments: true
|
||||
AlignConsecutiveDeclarations: true
|
||||
AlignTrailingComments: true
|
||||
AlignEscapedNewlinesLeft: true
|
||||
PointerAlignment: Right
|
||||
ForEachMacros: ['NNI_LIST_FOREACH']
|
||||
AlwaysBreakAfterReturnType: TopLevelDefinitions
|
||||
SpaceAfterCStyleCast: true
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
BreakBeforeBinaryOperators: None
|
Loading…
x
Reference in New Issue
Block a user