
Stress testing Biome's noFloatingPromises lint rule
9/4/2025
Vercel engineers contributed creative and complex test cases to stress test Biome's `noFloatingPromises` lint rule. These test cases explored various JavaScript and TypeScript language features like Promise-like objects, structural typing, conditional types, Proxies, getters, and logical operators to uncover subtle ways unhandled Promises could be created and missed by linters. This effort aimed to improve the rule's ability to catch silent errors and unpredictable behavior in asynchronous code.