mas/.swiftformat
Ross Goldberg 4d4dd02cd3
Improve lint configurations.
Partial #592

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-23 06:18:34 -04:00

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