diff --git a/website/docs/EslintPLluginTestingLibrary.md b/website/docs/EslintPLluginTestingLibrary.md index 2a4c934cc..08cfe4746 100644 --- a/website/docs/EslintPLluginTestingLibrary.md +++ b/website/docs/EslintPLluginTestingLibrary.md @@ -4,9 +4,9 @@ title: ESLint Plugin Testing Library Compatibility --- -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: +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: -- [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 +- [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 Also, some rules have become useless, unless maybe you're using an old version of the library: @@ -22,7 +22,7 @@ To get the rule [consistent-data-testid](https://github.com/testing-library/esli 2, { "testIdAttribute": ["testID"], - "testIdPattern": "^TestId(__[A-Z]*)?$" + "testIdPattern": "^TestId(__[A-Z]*)?$" } ] }