eslint-community/eslint-plugin-promise

feature: warn when calling async functions without an await (no floating promises)

Open

#151 opened on Nov 7, 2018

 (13 comments) (4 reactions) (0 assignees)JavaScript (103 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (998 stars)
PR merge metrics
 (PR metrics pending)

Description

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?

Contributor guide