reactjsatom-editorbabeljsprettify

How to configure atom-beautify package to format with babel/jsx javascript files?


I searched for a package to auto-indent and beautify my React/babel code. I just tried atom-beautify which seems to have good feeback on Atom.

But the result on an usual babel file is not good enough: "HTML tag" doesn't indent as wanted. Has anyone tried to use atom-beautify with babel?


Solution

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