playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature]: Warning annotations

Open agg23 opened this issue 8 months ago • 2 comments

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

agg23 avatar Apr 01 '25 16:04 agg23

Possibly implement #34807 and #35049 as warnings.

agg23 avatar Apr 18 '25 13:04 agg23

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.

agg23 avatar Aug 19 '25 16:08 agg23