Skip to content

Commit 190df67

Browse files
Eslint plugin docs typos (#1157)
1 parent cc52c61 commit 190df67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/EslintPLluginTestingLibrary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: ESLint Plugin Testing Library Compatibility
44
---
55

66

7-
Most of the rules of the [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) are compatible with this library except the followings:
7+
Most of the rules of the [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) are compatible with this library except the following:
88

9-
- [prefer-user-event](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/docs/rules/prefer-user-event.md): userEvent requires a dom environement so it is not compatible with this library
9+
- [prefer-user-event](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/docs/rules/prefer-user-event.md): `userEvent` requires a DOM environment so it is not compatible with this library
1010

1111
Also, some rules have become useless, unless maybe you're using an old version of the library:
1212

@@ -22,7 +22,7 @@ To get the rule [consistent-data-testid](https://github.com/testing-library/esli
2222
2,
2323
{
2424
"testIdAttribute": ["testID"],
25-
"testIdPattern": "^TestId(__[A-Z]*)?$"
25+
"testIdPattern": "^TestId(__[A-Z]*)?$"
2626
}
2727
]
2828
}

0 commit comments

Comments
 (0)