millermedeiros / esformatter

ECMAScript code beautifier/formatter
MIT License
970 stars 91 forks source link

failed parsing code when source code has a object shorthand pattern #480

Closed seoker closed 7 years ago

seoker commented 7 years ago

I have a syntax like this in my code which gets parsing error:

const aaa = 123, bbb = 456;
const params = { aaa, bbb };
seoker commented 7 years ago

close this one since it's caused by wbinnssmith/esformatter-collapse-objects and has been issued as wbinnssmith/esformatter-collapse-objects#11