mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
43 lines
794 B
Plaintext
43 lines
794 B
Plaintext
# .swiftformat
|
|
|
|
## file options
|
|
|
|
--exclude .build,.github,.swiftpm,.vscode,Configurations,Dependencies
|
|
|
|
## format options
|
|
|
|
--allman false
|
|
--binarygrouping 4,8
|
|
--commas always
|
|
--comments indent
|
|
--decimalgrouping 3,6
|
|
--elseposition same-line
|
|
--empty void
|
|
--exponentcase lowercase
|
|
--exponentgrouping disabled
|
|
--fractiongrouping disabled
|
|
--header ignore
|
|
--hexgrouping 4,8
|
|
--hexliteralcase uppercase
|
|
--ifdef indent
|
|
--importgrouping testable-bottom
|
|
--indent 4
|
|
--indentcase false
|
|
--linebreaks lf
|
|
--maxwidth none
|
|
--octalgrouping 4,8
|
|
--operatorfunc spaced
|
|
--patternlet hoist
|
|
--ranges spaced
|
|
--self remove
|
|
--semicolons inline
|
|
--stripunusedargs always
|
|
--swiftversion 5.1
|
|
--trimwhitespace always
|
|
--wraparguments preserve
|
|
--wrapcollections preserve
|
|
|
|
## rules
|
|
|
|
--enable isEmpty,andOperator,assertionFailures
|