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
feat: Add no-all-method rule to disallow .all() method calls
This commit introduces a new rule that prevents the use of `.all()` as a method call in the codebase. The rule is documented in the README and includes corresponding tests to validate its functionality.
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,7 @@ CLI option\
162
162
|[require-hook](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-hook.md)| Require setup and teardown code to be within a hook ||||
163
163
|[require-soft-assertions](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-soft-assertions.md)| Require assertions to use `expect.soft()`|| 🔧 ||
164
164
|[require-to-pass-timeout](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-to-pass-timeout.md)| Require a timeout for `toPass()`||||
165
+
|[no-all-method](https://github.com/playwright-community/eslint-plugin-playwright)| Disallow any use of `.all()` as a method call ||||
165
166
|[require-to-throw-message](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-to-throw-message.md)| Require a message for `toThrow()`||||
166
167
|[require-top-level-describe](https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/require-top-level-describe.md)| Require test cases and hooks to be inside a `test.describe` block ||||
0 commit comments