mas/.swiftformat

38 lines
751 B
Text
Raw Permalink Normal View History

2019-01-30 06:06:15 +00:00
#
# .swiftformat
# mas-cli
#
# https://github.com/nicklockwood/SwiftFormat#config-file
#
# Disabled rules
--disable hoistAwait
2021-03-29 00:30:55 +00:00
--disable hoistPatternLet
--disable hoistTry
# Enable later
2021-03-29 00:16:37 +00:00
--disable indent
--disable trailingCommas
2019-01-30 06:06:15 +00: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-30 06:06:15 +00:00
# Rule options
2021-03-22 05:46:17 +00:00
--commas always
--hexliteralcase lowercase
2021-03-22 05:25:18 +00:00
--importgrouping testable-last
--lineaftermarks false
2021-03-22 05:46:17 +00:00
--ranges no-space