Why is Prettier rock solid?
mrmr.io
Why is Prettier rock solid?
1–10 of 163 posts
Re: Why is Prettier rock solid?
#2Huh? I'm pretty sure it indents with tabs.
Re: Why is Prettier rock solid?
#3Re: Why is Prettier rock solid?
#4Ehh I would disagree here. Yes, prettier uses the classic pretty printing paper, but almost every pretty printer does in some form. And even then it’s subjective how you compile the actual syntax down to the printer elements. Prettier uses a very thick layer of complicated translation rules to get the printing just right. Especially with JSX and TypeScript. It’s honestly just good old testing and labor that makes it…
Missed opportunity I think to have a prettier with the prettiest defaults. Sadly the name is taken [0]
Re: Why is Prettier rock solid?
#5> note that gofmt doesn't indent, which is the hard part Huh? I'm pretty sure it indents with tabs.
Re: Why is Prettier rock solid?
#6Re: Why is Prettier rock solid?
#7> note that gofmt doesn't indent, which is the hard part Huh? I'm pretty sure it indents with tabs.
Re: Why is Prettier rock solid?
#8Re: Why is Prettier rock solid?
#9It’s very well tested and easy to add cases too - just add an input and an output so that may be why it seems so solid, just whenever there is an issue people fix it.
I think the main thing is that Meta maintains it which probably is why it’s so solid.
Re: Why is Prettier rock solid?
#10Ocamlformat is instant in the meanwhile.