You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[expect-expect](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/expect-expect.md)| Enforce assertion to be made in a test body | ✅ |||
166
-
|[max-expects](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/max-expects.md)| Enforces a maximum number assertion calls in a test body |✅|||
122
+
|[max-expects](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/max-expects.md)| Enforces a maximum number assertion calls in a test body ||||
167
123
|[max-nested-describe](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/max-nested-describe.md)| Enforces a maximum depth to nested describe calls | ✅ |||
168
124
|[missing-playwright-await](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/missing-playwright-await.md)| Enforce Playwright APIs to be awaited | ✅ | 🔧 ||
169
125
|[no-commented-out-tests](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-commented-out-tests.md)| Disallow commented out tests ||||
@@ -195,6 +151,8 @@ CLI option\
195
151
|[prefer-hooks-in-order](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-hooks-in-order.md)| Prefer having hooks in a consistent order ||||
196
152
|[prefer-hooks-on-top](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-hooks-on-top.md)| Suggest having hooks before any test cases ||||
197
153
|[prefer-lowercase-title](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-lowercase-title.md)| Enforce lowercase test names || 🔧 ||
154
+
|[prefer-native-locators](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-native-locators.md)| Suggest built-in locators over `page.locator()`|| 🔧 ||
155
+
|[prefer-locator](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-locator.md)| Suggest locators over page methods ||||
198
156
|[prefer-strict-equal](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-strict-equal.md)| Suggest using `toStrictEqual()`||| 💡 |
199
157
|[prefer-to-be](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-be.md)| Suggest using `toBe()`|| 🔧 ||
200
158
|[prefer-to-contain](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-to-contain.md)| Suggest using `toContain()`|| 🔧 ||
0 commit comments