I\'m using Sublime Text as a text editor.
There\'s a jsFormat for formatting javascript files but I can\'t find one for JSX.
How you guys deal with formattin
the answer in the internet that always told you set 'e4x' to true, but sometimes, we have to set option of 'format_on_save_extensions' then add 'jsx' in array
modify jsFormat.sublime-settings
{ "e4x": true, "format_on_save": true, "format_on_save_extensions": ["js", "json", "jsx"] }