Skip to content

Commit cb8cd57

Browse files
authored
docs(consistent-data-testid): add compatibility clarification (#543)
1 parent a8341af commit cb8cd57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/rules/consistent-data-testid.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Ensure `data-testid` values match a provided regex. This rule is un-opinionated, and requires configuration.
44

5+
> ⚠️ This rule is only available in the following Testing Library packages:
6+
>
7+
> - `@testing-library/react` (supported by this plugin)
8+
59
## Rule Details
610

711
> Assuming the rule has been configured with the following regex: `^TestId(\_\_[A-Z]*)?$`

0 commit comments

Comments
 (0)