I get a warning about inconsistent whitespace in multi-line string literals which will cause an error if I run swiftformat a 2nd time.
Version 0.43.3
Config file:
# Format Options
--swiftversion 5.1
# Excluded Directories
--exclude Carthage,Configs,tools
# Rules
--rules redundantBackticks,redundantBreak,redundantExtensionACL,redundantFileprivate,redundantGet,redundantInit,redundantLet,redundantLetError,redundantNilInit,redundantObjc,redundantParens,redundantPattern,redundantRawValues,redundantReturn,redundantSelf,redundantVoidReturnType
I've excluded the file for now which resolves this problem but figured I'd report it.
Oddly enough if I run without my config file I get more of these warnings but no error.
@Deco354 thanks, I'll take a look.
@Deco354 fixed in 0.43.4.
@nicklockwood Is this bug back in v0.43.5 馃
@omaralbeik as far as I can tell there are no warnings or errors when formatting the example file with the specified settings. If you are seeing something similar it may be a different bug with similar symptoms. Please post a sample file demonstrating the problem (preferably in a new issue).
@omaralbeik as far as I can tell there are no warnings or errors when formatting the example file with the specified settings. If you are seeing something similar it may be a different bug with similar symptoms. Please post a sample file demonstrating the problem (preferably in a new issue).
Sorry, it was a problem from our side, thanks!
Most helpful comment
@Deco354 fixed in 0.43.4.