Aww, what a cute blog post title, right?
- You press save and code is formatted
- No need to discuss style in code review
- Saves you time and energy
But Prettier doesn’t do all languages. Notably HTML. It’s great at JSX, and I’ve gotten really used to enjoying that. But then when I switch to a Rails
.erb template or a WordPress site where I’m editing a
.php file, or even a plain ol’
.html file… no Prettier.