2019-01-29 23:06:15 -07:00
|
|
|
#
|
|
|
|
# .swiftformat
|
|
|
|
# mas-cli
|
|
|
|
#
|
|
|
|
# https://github.com/nicklockwood/SwiftFormat#config-file
|
|
|
|
#
|
|
|
|
|
|
|
|
# Disabled rules
|
2024-10-01 22:16:06 -04:00
|
|
|
--disable hoistAwait
|
2021-03-28 17:30:55 -07:00
|
|
|
--disable hoistPatternLet
|
2024-10-10 23:15:44 -04:00
|
|
|
--disable hoistTry
|
2024-10-21 07:47:39 -04:00
|
|
|
|
|
|
|
# Enable later
|
2021-03-28 17:16:37 -07:00
|
|
|
--disable indent
|
2021-05-08 13:26:25 -07:00
|
|
|
--disable trailingCommas
|
2019-01-29 23:06:15 -07:00
|
|
|
|
|
|
|
# Enabled rules (disabled by default)
|
2024-10-21 07:47:39 -04:00
|
|
|
#--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
|
|
|
|
--extensionacl on-declarations
|
2024-10-23 14:20:31 -04:00
|
|
|
--hexliteralcase lowercase
|
2021-03-21 22:25:18 -07:00
|
|
|
--importgrouping testable-last
|
2024-10-21 07:47:39 -04:00
|
|
|
--lineaftermarks false
|
2021-03-21 22:46:17 -07:00
|
|
|
--ranges no-space
|