mas/.swiftformat

38 lines
751 B
Text
Raw Normal View History

2019-01-29 23:06:15 -07:00
#
# .swiftformat
# mas-cli
#
# https://github.com/nicklockwood/SwiftFormat#config-file
#
# Disabled rules
--disable hoistAwait
2021-03-28 17:30:55 -07:00
--disable hoistPatternLet
--disable hoistTry
# Enable later
2021-03-28 17:16:37 -07:00
--disable indent
--disable trailingCommas
2019-01-29 23:06:15 -07:00
# Enabled rules (disabled by default)
#--enable acronyms
#--enable blankLinesBetweenImports
--enable blockComments
--enable docComments
--enable isEmpty
--enable noExplicitOwnership
#--enable organizeDeclarations
--enable redundantProperty
--enable sortSwitchCases
--enable wrapConditionalBodies
--enable wrapEnumCases
--enable wrapMultilineConditionalAssignment
--enable wrapSwitchCases
2019-01-29 23:06:15 -07:00
# Rule options
2021-03-21 22:46:17 -07:00
--commas always
--hexliteralcase lowercase
2021-03-21 22:25:18 -07:00
--importgrouping testable-last
--lineaftermarks false
2021-03-21 22:46:17 -07:00
--ranges no-space