Skip to content
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
@flying-sheep

Description

@flying-sheep
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions