Prettier is an opinionated code formatter
Big fan of the Prettier project, the team behind it, and how it has easier configuration. Wish there could be WordPress support (CIP → https://ahmda.ws/2EPreSL)
Pros:Best printer of AST I've used in a long long time. Less configuration is a big plus as well. Huge community support behind it. Battle tested
Cons:Nothing for what it promises.
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
I believe it's must have for any projects (that can be formatted by this tool). The best way is configuring auto formatting by using husky + lint-staged + prettier tools.
Pros:No worries about how code looks. Easily reviewing PRs, you see only meaningful changes.
Cons:Not found
Everyone on the team can be on the same page about style and focus more on good quality engineering instead of styling nitpicks. Prettier works, is fast, and is extensible. It also supports other languages and file types such as TypeScript, .graphql files, CSS, and more.
Pros:Simplifies life. No longer worry about formatting
Cons:None
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
Clubs Poker - For Companies