Newline braces have redundant ident
CodeJjang opened this issue · comments
I get the following no matter what, tried importing all esformatter confs and zeroing them but nothing help:
return (
<div>
<Comment author='Aviad'/>
<Comment author='Bar Inline'/>
</div>
);
Instead:
return (
<div>
<Comment author='Aviad'/>
<Comment author='Bar Inline'/>
</div>
);
Seems like a bug?
Looks like it was reported here millermedeiros/esformatter#465
Can this be closed?
Hi @wildeyes , @CodeJjang ,
esformatter has not released a version with that fix included.
However I was able to manually apply the patch to the esformatter version bundled with sublime-jsfmt.
The fix should be applied in the 1.0.11 release.
Please test it and let me know if it fixes the issue.