Prettier - Product Stars
Best products of September 2018


An opinionated code formatter

Upvotes 1,796 PH Page >
Praveen Durairaj
We have been using Prettier at Hasura for the past two months for a few fairly large react codebases and it really solved our formatting issues. Combined with a pre-commit hook as well to ensure consistency across collaborators. One gripe initially was that few of our devs didn't like the opinionated formatting but there wasn't anything to automate styling either! You will get used to it eventually. Hope everybody embraces some form of code styling guide to improve productivity.
All my JS projects use prettier, my blog uses prettier, I can't wait for the day when all my native code also uses prettier. Removes a whole area of discussion from code review.
Ayrton De Craene
The other day when I was writing some Ruby code I realised how much Prettier has been spoiling me. I can't see myself not using this anymore
Amazing product - nice job! I have been using it for a few months, and really like it!
Dial Cortez
Use it all day! and in all my projects. Can't imagine not using prettier. Kudos to the Team! <3
Ahmad Awais ⚡
Big fan of the Prettier project, the team behind it, and how it has an easier configuration. 💯
Joshua Pinter
I played around with this for our React Native codebase but ended up going with ESLint ( and customizing the rules there. I like that ESLint will combine simple linting with code style in a non-automatic way.
James Long
Hi Product Hunt! I started writing Prettier when I was working on another product (that I hope to launch on PH soon :)). I got so tired of formatting code and felt like it was slowing me down so much. Christopher (vjeux) joined early on and helped see it all the way through. I'm super excited with how far it's come and that it solved the problem so well! I honestly think it has helped my build my product faster. Let me know if you have any questions about the history of prettier or how it works. I won't be able to respond for a few days, I happen to be leaving for a vacation where I won't have any internet right now. But I'll respond (or vjeux will) when I get back!
Flavio Copes
Prettier has been invaluable in helping me keep code clean and consistent. It's an awesome tool to keep your code pretty, with it's very little space for customization it's the gofmt for the JavaScript world (but it's not limited to JS). It's a great tool to use alongside ESLint for error checking and more static analysis. I wrote about my usage of Prettier on my blog recently, I really enjoy having Prettier drive more productivity as I focus on the functionality of my code rather than on the style.
Adam Kelly
I'm a big believer of prettier, use it for all my javascript projects. Big fan of rust fmt and go-fmt also, similar reasons.
I absolutely love this product. Not having Prettier in other languages (Ruby, Swift) has driven me insane! I'm so spoiled by this incredible tool!
Pascal Andy
VS Code user on mac here. As I mainly do devops stuff in bash I’m wondering ... will Prettier format my bash scripts ?
James Brooks
If you're looking to make Prettier part of your CI, we automated it into StyleCI
Shion Wong