I got this error when specifying tab usage in .swiftformat:
...
--indent tab
...
And I got this error message:
error: The --maxwidth option requires --tabwidth to also be set.
Shouldn't this error message to be rewritten?
It took me a while to find out that I needed to set --tabwidth value, and --maxwidth had nothing to do there.
@byassine52 good point. I'll fix it.
Fixed in 0.44.8
Most helpful comment
Fixed in 0.44.8