mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 04:50:24 +00:00
4d4dd02cd3
Partial #592 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
37 lines
755 B
Text
37 lines
755 B
Text
#
|
|
# .swiftformat
|
|
# mas-cli
|
|
#
|
|
# https://github.com/nicklockwood/SwiftFormat#config-file
|
|
#
|
|
|
|
# Disabled rules
|
|
--disable hoistAwait
|
|
--disable hoistPatternLet
|
|
--disable hoistTry
|
|
|
|
# Enable later
|
|
--disable indent
|
|
--disable trailingCommas
|
|
|
|
# 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
|
|
|
|
# Rule options
|
|
--commas always
|
|
--extensionacl on-declarations
|
|
--importgrouping testable-last
|
|
--lineaftermarks false
|
|
--ranges no-space
|