testing-library / testing-library/eslint-plugin-testing-library
Add new shareable configurations for libraries
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 15h 44m
- Merged PRs (30d)
- 14
Description
Currently, we are supporting Angular, React and Vue for shareable configurations. The configuration contains the following rules:
- await-async-query
- await-async-utils
- no-await-async-query
- no-debug
- no-dom-import
It would be nice to add shareable configurations for other libraries such as:
- Native Testing Library
- Preact Testing Library
- Svelte Testing Library https://github.com/testing-library/eslint-plugin-testing-library/pull/973
- Marko Testing Library https://github.com/testing-library/eslint-plugin-testing-library/pull/572
-
Cypress Testing LibraryThere is nothing to cover in Cypress Testing Library. Actually, this plugin must be excluded from Cypress tests.
We would need to check that each rule can be applied to these packages.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the existing Angular, React, and Vue shareable configurations and inspect how the listed rules are applied. Check each rule against Native Testing Library and Preact Testing Library, then verify the resulting configurations with the repository's existing checks. Done means the supported configurations are added and every applicable rule has been validated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, eslint, react, typescript
- Domain
- frontend, testing-qa, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100