Standard: Support ES8 (ES 2017), in addition to ES7 (ES 2016)

Created on 29 Sep 2016  路  3Comments  路  Source: standard/standard

With the latest version of standard, this code produces an error, but is perfectly valid es6:

async () => { console.log('hello') }

Maybe I'm doing something wrong here? I'd think someone else would have noticed this before...

enhancement

Most helpful comment

Okay, new version of standard just released that support ES8, including async and await. Enjoy!

8.3.0.

All 3 comments

We support ES7 at the moment, but async actually is part of the ES8 spec.

(ESLint supports ES8, so we can try updating to that again. I only updated us to ES7 earlier this week since in ES8 mode, I ran into a parse bug that treated async as a reserved word which broke valid uses like cb({ async: true }). That was just fixed in espree, though.

I'll give this another shot.

Okay, new version of standard just released that support ES8, including async and await. Enjoy!

8.3.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rbecheras picture rbecheras  路  3Comments

davidjamesstone picture davidjamesstone  路  3Comments

muhajirdev picture muhajirdev  路  3Comments

vdclouis picture vdclouis  路  3Comments

jmz7v picture jmz7v  路  3Comments