# Stream rules
--swiftversion 5.6
--ifdef no-indent
--disable fileHeader

# Rules inferred from Swift Standard Library:
--disable anyObjectProtocol, wrapMultilineStatementBraces
--indent 4
--enable isEmpty
--disable redundantParens # it generates mistakes for e.g. "if (a || b), let x = ... {}"
--semicolons inline
--nospaceoperators ..., ..< # what about ==, +=?
--commas inline
--trimwhitespace nonblank-lines
--stripunusedargs closure-only
--maxwidth 132

--binarygrouping 4,7
--octalgrouping none
--hexgrouping none
--fractiongrouping disabled
--exponentgrouping disabled
--hexliteralcase lowercase
--exponentcase lowercase

--wraparguments before-first
--wrapparameters before-first
--wrapcollections before-first
