Skip to content

Check for unawaited promises with ESlint #1062

@toinehartman

Description

@toinehartman

Describe the bug

Our TS code base (or proposed changes) sometimes have unawaited promises.

Examples:

ESlint provides a rule to catch those: https://typescript-eslint.io/rules/no-floating-promises/
While at it, we should probably also check for misused promises: https://typescript-eslint.io/rules/no-misused-promises

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update Javascript code

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions