With this latest PR, inference for `noFloatingPromises` is pushed to over 80% success rate in Vercel's repositories: github.com/biomejs/biome/pull/

While I targeted specific patterns used by their own `swr` library, all the fixes are generically applicable, meaning other code benefits too.

Do you want to use Biome's `noFloatingPromises`, but need support for some library that is important to you? Reach out to us and we can make it happen: biomejs.dev/enterprise/

1

If you have a fediverse account, you can quote this note from your own instance. Search https://mstdn.social/users/arendjr/statuses/114709378700677675 on your instance and quote it. (Note that quoting is not supported in Mastodon.)