Skip to content

docs: include new page for eslint plugin within ecosystem section #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/ecosystem-eslint-plugin-testing-library.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
id: ecosystem-eslint-plugin-testing-library
title: eslint-plugin-testing-library
---

[`eslint-plugin-testing-library`][gh] is an ESLint plugin for Testing Library
that helps users to follow best practices and anticipate common mistakes when
writing tests.

![eslint-plugin-testing-library example showing an error](/img/eslint-plugin-screenshot.png)

This plugin includes:

- Several rules for linting Testing Library specific code.
- Shareable config for recommended rules.
- Shareable configs for specific rules by framework: Angular, React, Vue.
- Some autofixable rules.

Find more info about available rules and configs on GitHub.

- [eslint-plugin-testing-library on GitHub][gh]

[gh]: https://github.com/Belco90/eslint-plugin-testing-library
3 changes: 2 additions & 1 deletion website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"ecosystem-jest-dom",
"ecosystem-bs-jest-dom",
"ecosystem-jest-native",
"ecosystem-react-select-event"
"ecosystem-react-select-event",
"ecosystem-eslint-plugin-testing-library"
],
"Help": ["faq", "learning", "contributing"]
},
Expand Down
Binary file added website/static/img/eslint-plugin-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.