-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftformat
More file actions
35 lines (31 loc) · 771 Bytes
/
Copy path.swiftformat
File metadata and controls
35 lines (31 loc) · 771 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
35
# SwiftFormat Configuration for SkinLab
# https://github.com/nicklockwood/SwiftFormat
# Format options
--indent 4
--indentcase false
--trimwhitespace always
--importgrouping alphabetized
--semicolons never
--commas always
--stripunusedargs closure-only
--maxwidth 120
--wraparguments before-first
--wrapparameters before-first
--wrapcollections before-first
--closingparen balanced
--funcattributes prev-line
--typeattributes prev-line
--varattributes same-line
--extensionacl on-declarations
--patternlet hoist
--self remove
--selfrequired
--header strip
# Rules to disable
--disable redundantSelf
--disable trailingCommas
--disable wrapMultilineStatementBraces
# Excluded paths
--exclude Pods,DerivedData,.build,*.generated.swift
# Swift version
--swiftversion 5.9