mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
98c85ac6d6
Resolve #313 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
38 lines
782 B
Text
38 lines
782 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
|
|
--hexliteralcase lowercase
|
|
--importgrouping testable-last
|
|
--lineaftermarks false
|
|
--ranges no-space
|