piuccio / sublime-esformatter

JavaScript formatter plugin for Sublime Text
MIT License
28 stars 20 forks source link

how to indent JSX syntax? #60

Closed littlee closed 8 years ago

littlee commented 8 years ago

after formating the code, all the code is pretty but the jsx syntax. jsx syntax leave unchanged at all.

how to make the formatter to indent jsx? 2016-01-16_155820

piuccio commented 8 years ago

there's a PR open, #53, but I can't merge it yet because new esformatter doesn't work properly when packaged.

I need more time to find a solution (or help)

littlee commented 8 years ago

good luck :smiley:

piuccio commented 8 years ago

As of 2.0.0 the plugin uses the local/global version of esformatter, you can configure your jsx plugin there.