Skip to content

promise/prefer-await-to-then ignore constructor scope #436

Closed
@dimaMachina

Description

Description

promise/prefer-await-to-then should not report errors if .then/.catch calls are inside constructor of some class

Because we can't have async constructor

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions