8000 feature: warn when calling async functions without an await (no floating promises) · Issue #151 · eslint-community/eslint-plugin-promise · GitHub
[go: up one dir, main page]

Skip to content 8000
feature: warn when calling async functions without an await (no floating promises) #151
@bigman73

Description

@bigman73

Forgetting to put an await before calling an async function can have very bad outcomes and is quite hard to notice

TSLint has a rule named no-floating-promises -https://palantir.github.io/tslint/rules/no-floating-promises/

Can you implement a similar rule in this ESLint plugin?

Metadata

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

      0