-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swift-format
More file actions
30 lines (30 loc) · 1007 Bytes
/
.swift-format
File metadata and controls
30 lines (30 loc) · 1007 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
{
"version": 1,
"lineLength": 200,
"indentation" : {
"spaces": 4
},
"indentBlankLines": false,
"indentSwitchCaseLabels": false,
"lineBreakBeforeControlFlowKeywords": false,
"lineBreakBeforeEachArgument": false,
"respectsExistingLineBreaks": true,
"multiElementCollectionTrailingCommas": true,
"spacesAroundRangeFormationOperators": false,
"rules" : {
"AllPublicDeclarationsHaveDocumentation" : true,
"AlwaysUseLowerCamelCase" : true,
"DoNotUseSemicolons": true,
"NeverUseForceTry" : true,
"NoAccessLevelOnExtensionDeclaration": true,
"NoBlockComments": true,
"OneCasePerLine" : true,
"OneVariableDeclarationPerLine" : false,
"OrderedImports" : true,
"ReturnVoidInsteadOfEmptyTuple": true,
"TypeNamesShouldBeCapitalized" : true,
"UseEarlyExits" : true,
"UseShorthandTypeNames" : true,
"UseTripleSlashForDocumentationComments" : true
}
}