2021-10-27 10:07:07 +00:00
|
|
|
---
|
|
|
|
|
# clang-format settings for the C# code
|
2023-07-17 22:21:18 +00:00
|
|
|
BasedOnStyle: Microsoft
|
|
|
|
|
|
|
|
|
|
# Setting ColumnLimit to 0 so developer choices about where to break lines are maintained.
|
|
|
|
|
# Developers are responsible for adhering to the 120 character maximum.
|
|
|
|
|
ColumnLimit: 0
|
2021-10-27 10:07:07 +00:00
|
|
|
|
|
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
|
BraceWrapping:
|
2023-07-17 22:21:18 +00:00
|
|
|
AfterCaseLabel: true
|
|
|
|
|
BeforeWhile: true
|
2021-10-27 10:07:07 +00:00
|
|
|
SplitEmptyFunction: false
|
|
|
|
|
SplitEmptyRecord: false
|
2023-07-17 22:21:18 +00:00
|
|
|
# unfortunately there's no config option for handling the 'get' or 'set' of properties
|
2021-10-27 10:07:07 +00:00
|
|
|
|
|
|
|
|
IndentCaseLabels: true
|
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
2023-07-17 22:21:18 +00:00
|
|
|
NamespaceIndentation: All
|
|
|
|
|
SpacesInContainerLiterals: false
|
|
|
|
|
SortIncludes: CaseSensitive
|
|
|
|
|
SortUsingDeclarations: LexicographicNumeric
|