Closed bartlomiejswierad-vodeno closed 1 year ago
Yes, you can use --disable redundantOptionalBinding
.
For future reference you can use --lint
or --verbose
to find out which rule was applied to which line so you know which to disable.
Thanks for the advice!
Hey,
Currently, when I provide swift version 5.7, SwiftFormat enforces new shortened syntax of
if let
andguard let
, when for some private reasons we can't use it. Is there a possibility to disable this rule?Rule example: Before:
After:
SwiftFormat: v0.51.2 Xcode 14.2 Swift 5.7.2 MacOS 13.2.1