-
Notifications
You must be signed in to change notification settings - Fork 54
/
.swiftformat
51 lines (49 loc) · 1.15 KB
/
.swiftformat
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# format options
--allman false
--binarygrouping none
--closingparen balanced
--commas inline
--conflictmarkers reject
--decimalgrouping none
--elseposition same-line
--empty void
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--fragment false
--header ignore
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
--importgrouping alphabetized
--indent 4
--indentcase false
--linebreaks lf
--octalgrouping none
--operatorfunc spaced
--patternlet hoist
--ranges no-space
--self init-only
--selfrequired
--semicolons never
--stripunusedargs closure-only
--trailingclosures
--trimwhitespace always
--wraparguments before-first
--wrapcollections before-first
--xcodeindentation disabled
# file options
--swiftversion 5
--exclude .build
--exclude Submodules
--exclude Sources/**/Digest.swift
--exclude Sources/**/PrettyBytes.swift
--exclude Sources/**/RNG_boring.swift
--exclude Sources/**/SecureBytes.swift
--exclude Sources/**/Signature.swift
--exclude Exhaustive/**/secp256k1Tests.swift
--exclude Exhaustive/**/XCTestManifests.swift
# rules
# --disable elseOnSameLine,semicolons
--disable strongOutlets
--disable wrapMultilineStatementBraces