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
Xcode still doesn't know how to indent this one correctly, and I'd love it if SwiftLint could detect it AND correct it, because it really kills my OCD.
I think this only happens when the closure starts in a "overly" indented line. A very common example of this is when using a chained operator, like in RAC:
SignalProducer(values:[1,2,3]).map{ $0 +1}.startWithNext{ number inprint(number)}
That's how Xcode indents the closing }, which is really annoying. Instead, it should be aligned:
SignalProducer(values:[1,2,3]).map{ $0 +1}.startWithNext{ number inprint(number)}
I'm happy to implement this myself (I'd love to finally dive in SwiftLint's source), just wanted to make sure other people agree with this too :)
The text was updated successfully, but these errors were encountered:
Xcode still doesn't know how to indent this one correctly, and I'd love it if
SwiftLint
could detect it AND correct it, because it really kills my OCD.I think this only happens when the closure starts in a "overly" indented line. A very common example of this is when using a chained operator, like in RAC:
That's how Xcode indents the closing
}
, which is really annoying. Instead, it should be aligned:I'm happy to implement this myself (I'd love to finally dive in
SwiftLint
's source), just wanted to make sure other people agree with this too :)The text was updated successfully, but these errors were encountered: