Skip to content

Commit 5504d43

Browse files
Belco90Kent C. Dodds
authored andcommitted
docs: include new page for eslint plugin within ecosystem section (#275)
* docs: include new page for eslint plugin within ecosystem section * docs(eslint-plugin): remove unnecessary backticks * docs(eslint-plugin): include example screenshot within the repo * docs(eslint-plugin): update bullet list elements
1 parent c10c689 commit 5504d43

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
id: ecosystem-eslint-plugin-testing-library
3+
title: eslint-plugin-testing-library
4+
---
5+
6+
[`eslint-plugin-testing-library`][gh] is an ESLint plugin for Testing Library
7+
that helps users to follow best practices and anticipate common mistakes when
8+
writing tests.
9+
10+
![eslint-plugin-testing-library example showing an error](/img/eslint-plugin-screenshot.png)
11+
12+
This plugin includes:
13+
14+
- Several rules for linting Testing Library specific code.
15+
- Shareable config for recommended rules.
16+
- Shareable configs for specific rules by framework: Angular, React, Vue.
17+
- Some autofixable rules.
18+
19+
Find more info about available rules and configs on GitHub.
20+
21+
- [eslint-plugin-testing-library on GitHub][gh]
22+
23+
[gh]: https://github.com/Belco90/eslint-plugin-testing-library

website/sidebars.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@
100100
"ecosystem-jest-dom",
101101
"ecosystem-bs-jest-dom",
102102
"ecosystem-jest-native",
103-
"ecosystem-react-select-event"
103+
"ecosystem-react-select-event",
104+
"ecosystem-eslint-plugin-testing-library"
104105
],
105106
"Help": ["faq", "learning", "contributing"]
106107
},
36.3 KB
Loading

0 commit comments

Comments
 (0)