There is a community ESLint plugin eslint-plugin-playwright that I've helped contribute towards. I think this could be valuable to make official and think of other ESLint rules that could be added to it. Currently, the plugin does two main things:
Configures the ESLint environment for shared Node/browser and disables the no-empty-pattern rule
Adds a new ESLint rule that auto fixes missing await statements before expect matchers and test.step.
There is a community ESLint plugin
eslint-plugin-playwright
that I've helped contribute towards. I think this could be valuable to make official and think of other ESLint rules that could be added to it. Currently, the plugin does two main things:no-empty-pattern
ruleawait
statements before expect matchers andtest.step
.Thoughts?