Skip to content

New rule: Must await on promises #11

@kastermester

Description

@kastermester

In async functions - verify that one of the following happens on every single return value from a function returning a promise - or on arguments that are promise typed:

  • await expression
  • Promise is returned
  • Promise is used as an argument to a different function invocation

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions