I feel like Prettier does a really good job with JavaScript.
What situations have you found where automated formatting doesn’t suffice or has these limits?
What situations have you found where automated formatting doesn’t suffice or has these limits?
Some tools order/deduplicate imports. Prettier does not. [1]
And no tool that I've seen orders fields/constructor/method, etc.
But in any cases, all formatters allow you to selectively disable it for certain liners.
It would be, but as you can see in the linked issue, it was closed for being a non-goal. So, it's not likely to change.
(Prettier generally keeps the AST identical; i.e. whitespace and parentheses changes only.)