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

Add new "maxNestedDescribe" rule #57

Conversation

ozyx
Copy link
Contributor

@ozyx ozyx commented Jun 7, 2022

Closes #56

Description:

Adds a new rule to enforce a maximum depth of nested .describe() calls. Adapted from this eslint-plugin-jest rule and modified for Playwright.

lib/utils/ast.js Outdated Show resolved Hide resolved
lib/utils/ast.js Outdated Show resolved Hide resolved
@mskelton mskelton merged commit 6d13e5f into playwright-community:master Jun 9, 2022
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

Successfully merging this pull request may close these issues.

Rule suggestion - max-nested-describe
2 participants