You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
organizationmode rules are meant to organize as show in below image, however they do not have any effect. Other rules in .swiftformat config file works fine though like indent.
# format options
--indent 2
# file options
--exclude Pods
# rules
--disable elseOnSameLine,semicolons
# organization
--organizationmode type
@calda this is a pretty common source of confusion. Do you think it would make sense to show a warning when you specify an option when the associated rule is disabled?
The reason I've not done it before is that it might be annoying if people are using a shared config for multiple rulesets or whatever, but perhaps that's the lesser evil?
organizationmode
rules are meant to organize as show in below image, however they do not have any effect. Other rules in .swiftformat config file works fine though like indent.Expectation:
Docs: https://github.com/nicklockwood/SwiftFormat/blob/main/Rules.md#organizedeclarations
The text was updated successfully, but these errors were encountered: