Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Make community ESLint plugin official #9474

Open
mskelton opened this issue Oct 13, 2021 · 1 comment
Open

[Feature] Make community ESLint plugin official #9474

mskelton opened this issue Oct 13, 2021 · 1 comment

Comments

@mskelton
Copy link
Contributor

mskelton commented Oct 13, 2021

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:

  1. Configures the ESLint environment for shared Node/browser and disables the no-empty-pattern rule
  2. Adds a new ESLint rule that auto fixes missing await statements before expect matchers and test.step.

Thoughts?

@mskelton
Copy link
Contributor Author

Oh, forgot to post the link to the project 😂

https://github.com/playwright-community/eslint-plugin-playwright

Also, might be good to note that Cypress has an official ESLint plugin for what it's worth:

https://github.com/cypress-io/eslint-plugin-cypress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants