Closed letmejustputthishere closed 1 year ago
This is currently in the backlog (https://github.com/dfinity/prettier-plugin-motoko/issues/68).
I think this specific situation would be a good use case for // prettier-ignore
because of the custom multi-line string layout. That being said, it makes sense for the formatter to automatically wrap and/or preserve whitespace for multi-line strings.
the formatter currently doesn't seem to like multi line string literals https://github.com/flowerpowerdao/power-equalizer/blob/428563c87a11115a133e8d41386eba3dfd1f4078/src/Http/lib.mo#L146