Skip to content

No floating promises #1576

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

Merged
merged 2 commits into from
May 22, 2025
Merged

No floating promises #1576

merged 2 commits into from
May 22, 2025

Conversation

award999
Copy link
Contributor

We have a lot of floating promises in our code, some explicitly so, others likely being oversights. Will add a new eslint rule to watch for floating promises, fixing some and using "void" to ignore the others.

@award999 award999 added the full-test-run Perform a full test suite run. Apply this label before pushing up a PR or commit label May 22, 2025
@award999 award999 force-pushed the no-floating-promises branch from 1c990c3 to 130fa4d Compare May 22, 2025 13:20
@award999 award999 force-pushed the no-floating-promises branch 2 times, most recently from 83ed1fc to 9cfbf0d Compare May 22, 2025 13:33
We have a lot of floating promises in our code, some explicitly so, others
likely being oversights. Will add a new eslint rule to watch for floating
promises, fixing some and using "void" to ignore the others.
@award999 award999 force-pushed the no-floating-promises branch 3 times, most recently from 72266ae to cf3432a Compare May 22, 2025 17:48
@award999 award999 force-pushed the no-floating-promises branch from cf3432a to aebd9b5 Compare May 22, 2025 18:10
@award999 award999 marked this pull request as ready for review May 22, 2025 19:06
@award999 award999 merged commit b108540 into swiftlang:main May 22, 2025
18 checks passed
@award999 award999 deleted the no-floating-promises branch May 22, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-test-run Perform a full test suite run. Apply this label before pushing up a PR or commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants