Closed konomae closed 2 years ago
An unexpected indent was inserted in a project using CasePath.
SwiftFormat 0.49.10 Config: default
This does not occur in 0.49.9 or earlier.
reducer.pullback( casePath: /Action.action, environment: {} )
same as input
Thanks for reporting. Looks like the / is being mistaken for the start of a regex literal. Workaround for now would be to disable the indent rule for that file.
@konomae fixed in 0.49.11
Thank you!
An unexpected indent was inserted in a project using CasePath.
SwiftFormat 0.49.10 Config: default
This does not occur in 0.49.9 or earlier.
Input
Actual
Expected
same as input