News for hackers. Stuff that matters.
Re:Prettier 2.0 – Opinionated JavaScript formatter by tomduncalf on Sunday March 22, 2020 @05:22PM (#22658791)
I felt the same at first but I’ve honestly found after about a year of using prettier on every project that you just get used to the way it formats stuff and it’s a non-issue 99% of the time.

Where it does do something awkward e.g. to long expressions with lots of operators in, usually it’s actually a sign that you can make it clearer by splitting it into multiple smaller expressions which helps overall readability.

I think you can also tell prettier to ignore certain lines, though I don’t think I’ve ever needed to.

There are no comments on this comment yet.