-
-
Notifications
You must be signed in to change notification settings - Fork 261
/
Copy path.swiftformat.config
30 lines (30 loc) · 936 Bytes
/
.swiftformat.config
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
--symlinks ignore
--allman false
--binarygrouping 4,8
--commas inline
--decimalgrouping 3,6
--elseposition same-line
--empty void
--experimental enabled
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--header ignore
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
--indentcase false
--importgrouping testable-bottom
--linebreaks lf
--octalgrouping 4,8
--operatorfunc spaced
--patternlet hoist
--ranges spaced
--self remove
--semicolons never
--stripunusedargs always
--trimwhitespace always
--wraparguments before-first
--wrapcollections before-first
--enable isEmpty,duplicateImports,consecutiveSpaces,redundantFileprivate,redundantGet,redundantRawValues,spaceAroundBrackets,redundantVoidReturnType,redundantNilInit,redundantParens,redundantInit,strongifiedSelf
--disable redundantSelf,unusedArguments,hoistPatternLet,redundantBackticks,linebreakAtEndOfFile,trailingClosures,strongOutlets