Accepted answer

Atom beautify did not support jsx at that time. it does now :)


I use miniprettier, it's listed on Prettier official site as a recommended package.

It's like prettier-atom but without all the dependencies. I love it! It works very well on JSX. I use atom-beautify for other filetypes (e.g. JSON, pure HTML, JS).


I use Prettier ( to re-write my code into best practices, so all the team can write code as if only one person has written it all. Supports JSX, and recently, even TypeScript, CSS, SCSS, ..


I already faced the same problem and ended using prettier-atom . It works really nice with HTML tags.


I currently use the plugins language-babel, react, and autoclose-html to handle this for me with no issues.

Hope this helps!

Related Query

More Query from same tag