playwright
playwright copied to clipboard
[Feature]: Warning annotations
Tracking issue for the warning annotation feature.
Suggested Warnings
- Floating promises - examine ESLint solutions
- Async describes
- Event handlers that are still attached + running (locator handler, route, async events)
See #34845, #34861, #34957, #35374, #35373
Possibly implement #34807 and #35049 as warnings.
Prototyped a TypeScript based, no dependency linter which could take existing linter rules like no-floating-promises without changes and run them in a very minimal harness. We decided this wasn't worth integrating.