prettier-plugin-motoko
prettier-plugin-motoko copied to clipboard
Any way to configure these?
-
Do not insert final newline
-
Do not wrap function call arguments
-
Do not remove space between case arg and body with no
{}(this looks like a bug) -
Do not add space after
assert,actoranddebug_showwhen called as a function
-
Do not place
elseandcatchon the same line as closing bracket of prev block -
Bug when comment above
else(adds extra;)
Thanks for documenting these corner cases. It's going to be some time before I can get around to addressing most of these, but I found a quick fix for (3.) which I'll include in a new release.