You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@MartinPilny This is not a bug. The Playwright ESLint plugin does not have type information from TypeScript, so it must rely solely on static analysis. Your code is a correct error according to the plugin and should be explicitly ignored with an ESLint disable comment.
Fixes#295Fixes#243Fixes#312Fixes#320
I give in, I've got enough reports of this from users I'm tired of
dealing with it and decided to just support basic semantic analysis. No
doubt at some point someone is going to expect it to work with full type
information cause they'll have some weird use case where they import
some title string function from a util or something dumb like that, but
at least this will quell the nonsense for most simple cases.
Uh oh!
There was an error while loading. Please reload this page.
Let's have following test file
I get this error

which is wrong regarding docs https://github.com/playwright-community/eslint-plugin-playwright/blob/main/docs/rules/valid-title.md
The text was updated successfully, but these errors were encountered: