eslint-plugin-testing-library
eslint-plugin-testing-library
is an ESLint plugin for Testing Library
that helps users to follow best practices and anticipate common mistakes when
writing tests.
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.