Prettier is the best thing I ever used in my development workflow!
Pros:
- Format codes in JavaScript, JSON, and TypeScript also!
- Used plugins in Sublime and VSCode with edit on save, to format the codes for you.
- can customize on your preferred setting (tabs/space, semicolon or not)
- save tonnes of time on formatting, following standards given
Cons:
- It does not being support in VIM mode, but there is CLI tools to format it.
- When you don't want to format a certain line, it doesnt work like that.