forked from microsoft/react-native-test-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
32 lines (32 loc) · 767 Bytes
/
.clang-format
File metadata and controls
32 lines (32 loc) · 767 Bytes
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
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: '^<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