[e2e] Add eslint rule for max nested describes (#5565)

This commit is contained in:
Jesse Mazzella 2022-07-28 08:50:31 -07:00 committed by GitHub
parent 161fca98d5
commit c83ee95d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,9 @@
/* eslint-disable no-undef */
module.exports = {
"extends": ["plugin:playwright/playwright-test"],
"rules": {
"playwright/max-nested-describe": ["error", { "max": 1 }]
},
"overrides": [
{
"files": ["tests/visual/*.spec.js"],