▶ cat test.js
var foo = 'foo' ||
'foo2';
var bar = bar() ||
42;
▶ esformatter test.js
var foo = 'foo' ||
'foo2';
var bar = bar() ||
42;
I believe this problem was introduced with #380 which correctly removes the indent for functions/arrays/objects, but this also removes the indent where we still want it, for literals.
To repro:
I believe this problem was introduced with #380 which correctly removes the indent for functions/arrays/objects, but this also removes the indent where we still want it, for literals.