-
Notifications
You must be signed in to change notification settings - Fork 40
Description
It's not apparent from the documentation why this plugin has a dependency on @testing-library/dom
.
It looks like it does some branching based on whether a query is a DTL query or not but I can't find documentation how this affects rules in this repo.
This would help asses if we need a direct runtime dependency (current) or peer dependency or configuration option instead i.e. instead of requiring DTL and getting the list of queries, the user inputs that list.
Documenting this internal behavior would help to understand if custom queries should also be considered.
Ideally there wouldn't be a dependency on /dom at all so that users just have to update /dom if that releases a major and not update /dom
and eslint-plugin-jest-dom
. jest-dom
doesn't have a dependency on /dom
after all.