Prettier is an opinionated code formatter that enforces consistent style by parsing your code and re-printing it with its own rules. It supports many languages (JS, HTML, CSS, etc.) and integrates well with editors like VS Code. Prettier reduces debates over code style and helps maintain clean, readable code across teams.
I'm not a Javascript developer so I love that Prettier makes generally good formatting decisions for me, freeing need up to think about the code. It's easy to apply Prettier to any project I'm working on, even if other proper in the project aren't using it.
Pros:No configuration, easy to set up, defaults everyone can agree on
Cons:Harder to tell that a project is using Prettier
ContentKing
Stripe
Hasura
Flappy Royale
Graffiti.js
Changed the way I develop js apps forever
Pros:Never think about formatting again
Cons:Can't write code for you
Flightcontrol
It’s truly an essential for modern developers.
Pros:Turn my ugly code into a beauty!
Cons:It’s not automatically built into every code editor