Swift format, swift 5.3
This commit is contained in:
23
.swiftformat
Normal file
23
.swiftformat
Normal file
@@ -0,0 +1,23 @@
|
||||
# Minimum swiftformat version
|
||||
--minversion 0.47.4
|
||||
|
||||
# Swift version
|
||||
--swiftversion 5.3
|
||||
|
||||
# file options
|
||||
--exclude .build
|
||||
|
||||
# rules
|
||||
--disable redundantReturn, extensionAccessControl
|
||||
|
||||
# format options
|
||||
--ifdef no-indent
|
||||
--nospaceoperators ...,..<
|
||||
--patternlet inline
|
||||
--self insert
|
||||
--stripunusedargs unnamed-only
|
||||
|
||||
#--maxwidth 150
|
||||
--wraparguments before-first
|
||||
--wrapparameters before-first
|
||||
--wrapcollections before-first
|
||||
Reference in New Issue
Block a user