Hacker News new | ask | show | jobs
by nicoburns 938 days ago
It should put more weight on the length that the author has original authored it as. So between "always break" and "always expand" there should be an area of "leave it however it already is".
1 comments

Prettier needs to be consistent regardless of the original input. Otherwise it won’t really work well.
I don't think it does. Plenty of code formatters are not completely, and work just fine.