Closed sorahn closed 8 years ago
The formatter basically doesn't have support for ES6 yet. We hope to correct this soon.
Yeah, I Think I found out after some more googling last night that this an espree issue. Thanks for the quick reply. :)
It appears the object rest spread was added for the v0.8.0
milestone in Sept 2015, it doesn't appear to be working on more complicated uses tho
just released esformatter-semicolon-first@1.2.0
with the fix!
Nice!
Doesn't look like the spread operator syntax is very happy right now.
results in:
SearchActions.js: Error: Line 29: Unexpected token ...