-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.swift-format
More file actions
23 lines (23 loc) · 684 Bytes
/
.swift-format
File metadata and controls
23 lines (23 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"version" : 1,
"indentation" : {
"spaces" : 2
},
"lineLength" : 100,
"maximumBlankLines" : 1,
"multiElementCollectionTrailingCommas" : true,
"respectsExistingLineBreaks" : true,
"indentConditionalCompilationBlocks" : true,
"lineBreakBeforeControlFlowKeywords" : false,
"lineBreakBeforeEachArgument" : false,
"spacesAroundRangeFormationOperators" : false,
"rules" : {
"DoNotUseSemicolons" : true,
"NoEmptyTrailingClosureParentheses" : true,
"NoParensAroundConditions" : true,
"OrderedImports" : true,
"ReturnVoidInsteadOfEmptyTuple" : true,
"UseShorthandTypeNames" : true,
"UseTripleSlashForDocumentationComments" : true
}
}