Closed loganknecht closed 7 years ago
this is probably an issue on the esformatter-semicolon
plugin, see https://github.com/bulyshko/esformatter-semicolons/issues/8
@loganknecht I'll take a look in a near future.
@bulyshko Please let me know if I can facilitate this in any manner 😃
Can you please provide the exact output?
I have added a simple test case showing the problem in https://github.com/bulyshko/esformatter-semicolons/issues/8
Hi all! I love the tool, and its goal.
Was playing around with it, and I keep getting an error thrown at me for some files.
I have this bit of code
app.js
That when I save it tries to format and says:
stacktrace
My esformatter config is set up like so:
esformatter config
The error for this is that on line 37 and 38 of app.js the esformatter-semicolons plug-in is adding semi-colons there, which makes sense.
However, then the esformater-jsx tries to format this and crashes saying the semi-colons on those lines are invalid. I'm not sure which plug-in is necessarily correct. I just know it's causing it to crash.
The easiest solution for me in the mean-time has been to disable the
esformatter-semicolons
plug-in. Which is a shame, because I really do appreciate that functionality.Keen to hear your thoughts on this!