Skip to content

Commit 44fabc2

Browse files
committed
docs: add rule to readme
1 parent e260376 commit 44fabc2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
[![Tweet][tweet-badge]][tweet-url]
2424

2525
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
26+
2627
[![All Contributors](https://img.shields.io/badge/all_contributors-26-orange.svg?style=flat-square)](#contributors-)
28+
2729
<!-- ALL-CONTRIBUTORS-BADGE:END -->
2830

2931
## Installation
@@ -141,6 +143,7 @@ To enable this configuration use the `extends` property in your
141143
| [no-debug](docs/rules/no-debug.md) | Disallow the use of `debug` | ![angular-badge][] ![react-badge][] ![vue-badge][] | |
142144
| [no-dom-import](docs/rules/no-dom-import.md) | Disallow importing from DOM Testing Library | ![angular-badge][] ![react-badge][] ![vue-badge][] | ![fixable-badge][] |
143145
| [no-manual-cleanup](docs/rules/no-manual-cleanup.md) | Disallow the use of `cleanup` | | |
146+
| [no-promise-in-fire-event](docs/rules/no-promise-in-fire-event.md) | Disallow the use of promises passed to a `fireEvent` method | | |
144147
| [no-wait-for-empty-callback](docs/rules/no-wait-for-empty-callback.md) | Disallow empty callbacks for `waitFor` and `waitForElementToBeRemoved` | | |
145148
| [prefer-explicit-assert](docs/rules/prefer-explicit-assert.md) | Suggest using explicit assertions rather than just `getBy*` queries | | |
146149
| [prefer-find-by](docs/rules/prefer-find-by.md) | Suggest using `findBy*` methods instead of the `waitFor` + `getBy` queries | ![recommended-badge][] ![angular-badge][] ![react-badge][] ![vue-badge][] | ![fixable-badge][] |
@@ -214,6 +217,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
214217

215218
<!-- markdownlint-enable -->
216219
<!-- prettier-ignore-end -->
220+
217221
<!-- ALL-CONTRIBUTORS-LIST:END -->
218222

219223
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

lib/rules/no-promise-in-fire-event.ts

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { getDocsUrl, ASYNC_QUERIES_VARIANTS } from '../utils';
33
import {
44
isNewExpression,
55
isIdentifier,
6-
isMemberExpression,
76
isImportSpecifier,
87
isCallExpression,
98
} from '../node-utils';

0 commit comments

Comments
 (0)