|
1 | 1 | {
|
2 | 2 | "plugins": ["playwright"],
|
3 |
| - "rules": {} |
| 3 | + "extends": ["plugin:playwright/recommended"], |
| 4 | + "rules": { |
| 5 | + "playwright/no-commented-out-tests": "error", |
| 6 | + "playwright/no-duplicate-hooks": "error", |
| 7 | + "playwright/no-get-by-title": "error", |
| 8 | + "playwright/no-nth-methods": "error", |
| 9 | + "playwright/no-raw-locators": "error", |
| 10 | + "playwright/no-restricted-matchers": "error", |
| 11 | + "playwright/prefer-comparison-matcher": "error", |
| 12 | + "playwright/prefer-equality-matcher": "error", |
| 13 | + "playwright/prefer-hooks-in-order": "error", |
| 14 | + "playwright/prefer-hooks-on-top": "error", |
| 15 | + "playwright/prefer-lowercase-title": "error", |
| 16 | + "playwright/prefer-strict-equal": "error", |
| 17 | + "playwright/prefer-to-be": "error", |
| 18 | + "playwright/prefer-to-contain": "error", |
| 19 | + "playwright/prefer-to-have-count": "error", |
| 20 | + "playwright/prefer-to-have-length": "error", |
| 21 | + "playwright/require-to-throw-message": "error", |
| 22 | + "playwright/require-top-level-describe": "error" |
| 23 | + } |
4 | 24 | }
|
0 commit comments