-
Notifications
You must be signed in to change notification settings - Fork 4
/
.swift-format
33 lines (33 loc) · 1.13 KB
/
.swift-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
{
"indentation" : {
"spaces" : 4
},
"indentConditionalCompilationBlocks" : true,
"lineBreakAroundMultilineExpressionChainComponents": false,
"lineBreakBeforeControlFlowKeywords" : false,
"lineBreakBeforeEachArgument" : true,
"lineBreakBeforeEachGenericRequirement": true,
"lineLength" : 80,
"maximumBlankLines" : 1,
"prioritizeKeepingFunctionOutputTogether": false,
"respectsExistingLineBreaks" : true,
"blankLineBetweenMembers": {
"ignoreSingleLineProperties": true
},
"rules" : {
"AllPublicDeclarationsHaveDocumentation" : false,
"AlwaysUseLowerCamelCase": true,
"BeginDocumentationCommentWithOneLineSummary" : false,
"BlankLineBetweenMembers" : true,
"CaseIndentLevelEqualsSwitch" : true,
"DoNotUseSemicolons" : true,
"DontRepeatTypeInStaticProperties" : true,
"MultiLineTrailingCommas" : true,
"OneVariableDeclarationPerLine": true,
"TypeNamesShouldBeCapitalized": true,
"UseEnumForNamespacing" : true,
"ValidateDocumentationComments" : false
},
"tabWidth" : 8,
"version" : 1
}