This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Convert Async Await to ESTree format #119
Closed
Description
- TypeScript: 2.1.1
typescript-eslint-parser
: 1.0.0
using eslint with this parser on that:
await somthing()
i got
[eslint] Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
that bug was fixed in eslint some time ago: eslint/eslint#7175
is it possible that you don’t emit a Await
for expressions like this? because if you do, this should be treated like a call/yield, and ignored by this rule