-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy path.swiftformat
65 lines (63 loc) · 1.71 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# 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 Exhaustive/**/secp256k1Tests.swift
--exclude Exhaustive/**/XCTestManifests.swift
--exclude Sources/**/ArraySliceBigint.swift
--exclude Sources/**/ASN1.swift
--exclude Sources/**/ASN1BitString.swift
--exclude Sources/**/ASN1Boolean.swift
--exclude Sources/**/ASN1Identifier.swift
--exclude Sources/**/ASN1Integer.swift
--exclude Sources/**/ASN1Null.swift
--exclude Sources/**/ASN1OctetString.swift
--exclude Sources/**/ASN1Strings.swift
--exclude Sources/**/Digest.swift
--exclude Sources/**/ECDSASignature.swift
--exclude Sources/**/GeneralizedTime.swift
--exclude Sources/**/ObjectIdentifier.swift
--exclude Sources/**/PEMDocument.swift
--exclude Sources/**/PKCS8PrivateKey.swift
--exclude Sources/**/PrettyBytes.swift
--exclude Sources/**/RNG_boring.swift
--exclude Sources/**/SecureBytes.swift
--exclude Sources/**/Signature.swift
--exclude Submodules
# rules
# --disable elseOnSameLine,semicolons
--disable strongOutlets
--disable wrapMultilineStatementBraces