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
I think, that is my fail in understanding that rule.
I just prefer:
a) to group list of values in one case statement where it acceptable and in this case to write each pattern from a new line.
b) and write where conditions from a new line (not only in switch statement).
marcelofabri
changed the title
switch_case_on_newline: wrong behavior on enum with tuples.
switch_case_on_newline should support where in a new line
Feb 3, 2017
Example:
case let (.badaboom(...
.(.bang, .bang), (.ouch, .ouch):
.swiftlint version: 0.16.1
The text was updated successfully, but these errors were encountered: