mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 11:13:06 +00:00
5209ccd16b
Update linting for access control on extensions. Resolve #307 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
37 lines
751 B
Text
37 lines
751 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
|
|
--hexliteralcase lowercase
|
|
--importgrouping testable-last
|
|
--lineaftermarks false
|
|
--ranges no-space
|