-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swift-format
32 lines (32 loc) · 1.04 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
{
"version": 1,
"lineLength": 100,
"indentation": {
"spaces": 2
},
"tabWidth": 2,
"maximumBlankLines": 1,
"respectsExistingLineBreaks": false,
"lineBreakBeforeControlFlowKeywords": false,
"lineBreakBeforeEachArgument": true,
"lineBreakBeforeEachGenericRequirement": true,
"lineBreakBetweenDeclarationAttributes": false,
"prioritizeKeepingFunctionOutputTogether": true,
"indentConditionalCompilationBlocks": true,
"lineBreakAroundMultilineExpressionChainComponents": true,
"spacesAroundRangeFormationOperators": true,
"multiElementCollectionTrailingCommas": true,
"rules": {
"AlwaysUseLiteralForEmptyCollectionInit" : true,
"BeginDocumentationCommentWithOneLineSummary" : true,
"DoNotUseSemicolons" : true,
"NeverForceUnwrap" : false,
"NeverUseForceTry" : false,
"NeverUseImplicitlyUnwrappedOptionals" : false,
"NoAccessLevelOnExtensionDeclaration" : true,
"NoLeadingUnderscores" : false,
"OmitExplicitReturns" : false,
"UseEarlyExits" : true,
"ValidateDocumentationComments" : true
}
}