Skip to content

Commit 1004428

Browse files
committed
Update .swiftformat
1 parent 923eadf commit 1004428

File tree

1 file changed

+3
-48
lines changed

1 file changed

+3
-48
lines changed

.swiftformat

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,4 @@
1-
--enable blankLineAfterImports
2-
--enable blankLinesAfterGuardStatements
3-
--enable blankLinesAroundMark
4-
--enable blankLinesAtEndOfScope
5-
--enable blankLinesBetweenChainedFunctions
6-
--enable blankLinesBetweenImports
7-
--enable blankLinesBetweenScopes
8-
--enable braces
9-
--enable conditionalAssignment
10-
--enable consecutiveBlankLines
11-
--enable consecutiveSpaces
12-
--enable consistentSwitchCaseSpacing
13-
--enable duplicateImports
14-
--enable elseOnSameLine
15-
--enable emptyBraces
16-
--enable environmentEntry
17-
--enable extensionAccessControl
18-
--enable genericExtensions
19-
--enable linebreakAtEndOfFile
20-
--enable modifierOrder
21-
--enable numberFormatting
22-
--enable opaqueGenericParameters
23-
--enable redundantInit
24-
--enable redundantOptionalBinding
25-
--enable sortImports
26-
--enable spaceAroundBraces
27-
--enable spaceAroundBrackets
28-
--enable spaceAroundComments
29-
--enable spaceAroundGenerics
30-
--enable spaceAroundOperators
31-
--enable spaceAroundParens
32-
--enable spaceInsideBraces
33-
--enable spaceInsideBrackets
34-
--enable spaceInsideComments
35-
--enable spaceInsideGenerics
36-
--enable spaceInsideParens
37-
--enable trailingClosures
38-
--enable trailingCommas
39-
--enable trailingSpace
40-
--enable wrapMultilineFunctionChains
1+
# SwiftFormat (.swiftformat)
412

42-
--disable markTypes
43-
44-
--emptybraces spaced
45-
--else-position same-line
46-
--indent 2
47-
--line-between-guards false
48-
--type-blank-lines remove
49-
--import-grouping testable-first
3+
# ---- Core style options ----
4+
--indent 2

0 commit comments

Comments
 (0)