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

ESlint plugin playwright #422

Closed
Yordan-Ramchev opened this issue Jan 9, 2024 · 0 comments
Closed

ESlint plugin playwright #422

Yordan-Ramchev opened this issue Jan 9, 2024 · 0 comments

Comments

@Yordan-Ramchev
Copy link
Contributor

Yordan-Ramchev commented Jan 9, 2024

Is your feature request related to a problem? Please describe.

In the long run we need to add https://github.com/playwright-community/eslint-plugin-playwright/ to the playwright setup too.

See more: f280b26

Describe the solution you'd like
Incorporate eslint-plugin-playwright as a development dependency. When opting for the End-to-End (E2E) Playwright solution, ensure extension of the ESLint configuration.

Additional context

  1. Add eslint-plugin-playwright in /template/eslint/package.json
  2. Update index.ts > pass playwright option to renderEslint function
  3. Add logic for extending eslint with eslint-plugin-playwright plugin
    "extends": ["plugin:playwright/recommended"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant