forked from microsoft/rnx-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
34 lines (34 loc) · 802 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
BasedOnStyle: LLVM
AccessModifierOffset: -4
AllowShortFunctionsOnASingleLine: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Linux
ColumnLimit: 100
Cpp11BracedListStyle: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '"pch\.h"'
Priority: -1
- Regex: "^<RNX"
Priority: 4
- Regex: "^<React"
Priority: 4
- Regex: "^<[._a-z]+>"
Priority: 2
- Regex: "^<"
Priority: 3
- Regex: '.\*'
Priority: 10
IndentCaseLabels: true
IndentWidth: 4
NamespaceIndentation: All
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PenaltyReturnTypeOnItsOwnLine: 100
PointerAlignment: Right
SpacesBeforeTrailingComments: 2
SpacesInContainerLiterals: false
TabWidth: 4