Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts/no-floating-promises is incompatible with no-void #298

Closed
5 tasks done
Dimava opened this issue Oct 24, 2023 · 0 comments
Closed
5 tasks done

ts/no-floating-promises is incompatible with no-void #298

Dimava opened this issue Oct 24, 2023 · 0 comments

Comments

@Dimava
Copy link
Contributor

Dimava commented Oct 24, 2023

Describe the bug

ts/no-floating-promises

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the void operator

Related: this was previously fixed in #142

Reproduction

new Promise(()=>{})

System Info

n/a

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant