|
6 | 6 | <img width="150" height="150" src="https://raw.githubusercontent.com/testing-library/dom-testing-library/master/other/octopus.png">
|
7 | 7 | </a>
|
8 | 8 | <h1>eslint-plugin-testing-library</h1>
|
9 |
| - <p>ESLint plugin for Testing Library</p> |
| 9 | + <p>ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library</p> |
10 | 10 | </div>
|
11 | 11 |
|
12 | 12 | ## Installation
|
@@ -115,13 +115,13 @@ To enable this configuration use the `extends` property in your
|
115 | 115 |
|
116 | 116 | ## Supported Rules
|
117 | 117 |
|
118 |
| -| Rule | Description | Recommended | Frameworks | Fixable | |
119 |
| -| -------------------------------------------------------- | ---------------------------------------------- | ---------------- | -------------------------------- | ------------ | |
120 |
| -| [await-async-query](docs/rules/await-async-query.md) | Enforce async queries to have proper `await` | ![recommended][] | | | |
121 |
| -| [await-fire-event](docs/rules/await-fire-event.md) | Enforce async fire event methods to be awaited | | ![vue][] | | |
122 |
| -| [no-await-sync-query](docs/rules/no-await-sync-query.md) | Disallow unnecessary `await` for sync queries | ![recommended][] | | | |
123 |
| -| [no-debug](docs/rules/no-debug.md) | Disallow the use of `debug` | | ![angular][] ![react][] ![vue][] | | |
124 |
| -| [no-dom-import](docs/rules/no-dom-import.md) | Disallow importing from DOM Testing Library | | ![angular][] ![react][] ![vue][] | ![fixable][] | |
| 118 | +| Rule | Description | Configurations | Fixable | |
| 119 | +| -------------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------- | ------------ | |
| 120 | +| [await-async-query](docs/rules/await-async-query.md) | Enforce async queries to have proper `await` | ![recommended][] ![angular][] ![react][] ![vue][] | | |
| 121 | +| [await-fire-event](docs/rules/await-fire-event.md) | Enforce async fire event methods to be awaited | ![vue][] | | |
| 122 | +| [no-await-sync-query](docs/rules/no-await-sync-query.md) | Disallow unnecessary `await` for sync queries | ![recommended][] ![angular][] ![react][] ![vue][] | | |
| 123 | +| [no-debug](docs/rules/no-debug.md) | Disallow the use of `debug` | ![angular][] ![react][] ![vue][] | | |
| 124 | +| [no-dom-import](docs/rules/no-dom-import.md) | Disallow importing from DOM Testing Library | ![angular][] ![react][] ![vue][] | ![fixable][] | |
125 | 125 |
|
126 | 126 | [recommended]: https://img.shields.io/badge/recommended-lightgrey?style=flat-square
|
127 | 127 | [fixable]: https://img.shields.io/badge/fixable-success?style=flat-square
|
|
0 commit comments