jsformat-atom
jsformat-atom copied to clipboard
ES6 Import Format Not Respected
Import statements in ES6 get treated as object when written as
import {SomeClass} form './some/path'
results in:
import {
SomeClass
}from
'./some/path
Happy to look into this but don't have the time to comb the source, I'd need some sort of pointing in the right direction. I suspect this wouldn't be too involved. I'd didn't noticed but export might be effected also.
Outside of that great little package (wait that sounded bad lol) thx for the hard work!!
@origin1tech we use js-beautify to format JS, so they need to support ES6 for the format to come out properly.
I see like I said hadn't had chance to look at source. I'll take a look and see if I can't fix that.