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
> 🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).<br>💡 Manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
|[](undefined)|[await-async-events](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/await-async-events.md)<br />Enforce promises from async event methods are handled | <details><summary>eventModule: userEvent</summary><prelang="json"><code>{ "eventModule": "userEvent" }</code></pre></details> | 🔧 ||
44
-
|[](undefined)|[await-async-queries](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/await-async-queries.md)<br />Enforce promises from async queries to be handled ||||
45
-
|[](undefined)|[await-async-utils](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/await-async-utils.md)<br />Enforce promises from async utils to be awaited properly ||||
46
-
|[](undefined)|[no-dom-import](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-dom-import.md)<br />Disallow importing from DOM Testing Library | <details><summary>react</summary><prelang="json"><code>"react"</code></pre></details> | 🔧 ||
47
-
|[](undefined)|[no-global-regexp-flag-in-query](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-global-regexp-flag-in-query.md)<br />Disallow the use of the global RegExp flag (/g) in queries || 🔧 ||
48
-
|[](undefined)|[no-manual-cleanup](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-manual-cleanup.md)<br />Disallow the use of `cleanup`||||
49
-
|[](undefined)|[no-promise-in-fire-event](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-promise-in-fire-event.md)<br />Disallow the use of promises passed to a `fireEvent` method ||||
50
-
|[](undefined)|[no-unnecessary-act](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-unnecessary-act.md)<br />Disallow wrapping Testing Library utils or empty callbacks in `act`||||
51
-
|[](undefined)|[no-wait-for-side-effects](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-wait-for-side-effects.md)<br />Disallow the use of side effects in `waitFor`||||
52
-
|[](undefined)|[no-wait-for-snapshot](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-wait-for-snapshot.md)<br />Ensures no snapshot is generated inside of a `waitFor` call ||||
53
-
|[](undefined)|[prefer-query-by-disappearance](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-query-by-disappearance.md)<br />Suggest using `queryBy*` queries when waiting for disappearance ||||
|[](undefined)|[await-async-events](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/await-async-events.md)<br />Enforce promises from async event methods are handled | <details><summary>eventModule: userEvent</summary><prelang="json"><code>{ "eventModule": "userEvent" }</code></pre></details> | 🔧 ||
32
+
|[](undefined)|[await-async-queries](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/await-async-queries.md)<br />Enforce promises from async queries to be handled ||||
33
+
|[](undefined)|[await-async-utils](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/await-async-utils.md)<br />Enforce promises from async utils to be awaited properly ||||
34
+
|[](undefined)|[no-dom-import](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-dom-import.md)<br />Disallow importing from DOM Testing Library | <details><summary>react</summary><prelang="json"><code>"react"</code></pre></details> | 🔧 ||
35
+
|[](undefined)|[no-global-regexp-flag-in-query](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-global-regexp-flag-in-query.md)<br />Disallow the use of the global RegExp flag (/g) in queries || 🔧 ||
36
+
|[](undefined)|[no-promise-in-fire-event](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-promise-in-fire-event.md)<br />Disallow the use of promises passed to a `fireEvent` method ||||
37
+
|[](undefined)|[no-unnecessary-act](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-unnecessary-act.md)<br />Disallow wrapping Testing Library utils or empty callbacks in `act`||||
38
+
|[](undefined)|[no-wait-for-side-effects](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-wait-for-side-effects.md)<br />Disallow the use of side effects in `waitFor`||||
39
+
|[](undefined)|[no-wait-for-snapshot](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-wait-for-snapshot.md)<br />Ensures no snapshot is generated inside of a `waitFor` call ||||
|[](undefined)|[no-await-sync-events](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-await-sync-events.md)<br />Disallow unnecessary `await` for sync events ||||
60
46
|[](undefined)|[no-await-sync-queries](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-await-sync-queries.md)<br />Disallow unnecessary `await` for sync queries ||||
61
47
|[](undefined)|[no-container](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-container.md)<br />Disallow the use of `container` methods ||||
62
48
|[](undefined)|[no-debugging-utils](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-debugging-utils.md)<br />Disallow the use of debugging utilities like `debug`||||
49
+
|[](undefined)|[no-manual-cleanup](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-manual-cleanup.md)<br />Disallow the use of `cleanup`||||
63
50
|[](undefined)|[no-node-access](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-node-access.md)<br />Disallow direct Node access ||||
64
51
|[](undefined)|[no-render-in-lifecycle](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-render-in-lifecycle.md)<br />Disallow the use of `render` in testing frameworks setup functions ||||
65
52
|[](undefined)|[no-wait-for-multiple-assertions](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/no-wait-for-multiple-assertions.md)<br />Disallow the use of multiple `expect` calls inside `waitFor`||||
66
53
|[](undefined)|[prefer-explicit-assert](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-explicit-assert.md)<br />Suggest using explicit assertions rather than standalone queries ||||
67
54
|[](undefined)|[prefer-find-by](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-find-by.md)<br />Suggest using `find(All)By*` query instead of `waitFor` + `get(All)By*` to wait for elements || 🔧 ||
68
55
|[](undefined)|[prefer-presence-queries](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-presence-queries.md)<br />Ensure appropriate `get*`/`query*` queries are used with their respective matchers ||||
56
+
|[](undefined)|[prefer-query-by-disappearance](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-query-by-disappearance.md)<br />Suggest using `queryBy*` queries when waiting for disappearance ||||
69
57
|[](undefined)|[prefer-query-matchers](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-query-matchers.md)<br />Ensure the configured `get*`/`query*` query is used with the corresponding matchers ||||
70
58
|[](undefined)|[prefer-screen-queries](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-screen-queries.md)<br />Suggest using `screen` while querying ||||
71
59
|[](undefined)|[prefer-user-event](https://github.com/testing-library/eslint-plugin-testing-library/tree/main/docs/rules/prefer-user-event.md)<br />Suggest using `userEvent` over `fireEvent` for simulating user interactions ||||
0 commit comments