Formatting a multi-line multiple assignment causes this lint error:
MultiLineStatement: Statement spans multiple lines; use indentation to silence

local LongVariableName = 1
local a, b =
LongVariableName == 0, -- false
LongVariableName == 1 -- true
If relevant, this was done with the new type solver disabled.
idevride
(idevride)
2
Hi,
Thanks for your report. It is indeed not a good behavior to produce a lint error when formatting.
Similar issues have already been reported and we’re discussing replacing the current formatter with a new one as discussed here.
Please contribute to that thread for updates.
(I corrected the link to the thread, thanks @catinpsyop for the callout.)