lint floating promises #5407
Labels
code-style
defensive correctness patterns; readability thru consistency
devex
developer experience
tooling
repo-wide infrastructure
What is the Problem Being Solved?
We use promises extensively. The language allows floating promises (fire and forget) but that's rarely what we want. We've seen bugs with missing error handling, surprising order of execution or loss of stack trace.
Description of the Design
Adopt the typescript-eslint rule no-floating-promises
Security Considerations
--
Test Plan
Check with developers to get the right signal to noise ratio in the config
The text was updated successfully, but these errors were encountered: