-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.swiftformat
More file actions
34 lines (29 loc) · 749 Bytes
/
.swiftformat
File metadata and controls
34 lines (29 loc) · 749 Bytes
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
# file options
--exclude Build, Euclid, LRUCache, SVGPath, Package.swift
# format options
--swiftversion 5.7
--hexgrouping ignore
--decimalgrouping ignore
--ifdef no-indent
--self init-only
--shortoptionals except-properties
--wraparguments before-first
--wrapparameters before-first
--wrapcollections before-first
--wrapconditions after-first
--maxwidth 120
# rules
--lintonly unusedArguments
--lintonly unusedPrivateDeclarations
--enable emptyExtensions
--enable isEmpty
# --enable docComments
--enable noForceTryInTests
--enable noForceUnwrapInTests
# --enable noGuardInTests
--enable preferFinalClasses
--enable redundantAsync
--enable redundantThrows
--enable redundantEquatable
--enable redundantMemberwiseInit
--enable redundantProperty