From 16f3d1bc0b5ca2581364ee21436ea59121527603 Mon Sep 17 00:00:00 2001 From: Josh Justice Date: Sun, 2 Oct 2022 15:00:30 -0400 Subject: [PATCH 1/4] Fix incorrect tense --- website/docs/EslintPLluginTestingLibrary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/EslintPLluginTestingLibrary.md b/website/docs/EslintPLluginTestingLibrary.md index 2a4c934cc..744a96afa 100644 --- a/website/docs/EslintPLluginTestingLibrary.md +++ b/website/docs/EslintPLluginTestingLibrary.md @@ -4,7 +4,7 @@ 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 From 21274bafd3c267404557ee4ccba5aeae3d1eeb20 Mon Sep 17 00:00:00 2001 From: Josh Justice Date: Sun, 2 Oct 2022 15:00:43 -0400 Subject: [PATCH 2/4] Fix misspelling --- website/docs/EslintPLluginTestingLibrary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/EslintPLluginTestingLibrary.md b/website/docs/EslintPLluginTestingLibrary.md index 744a96afa..56e2c95d9 100644 --- a/website/docs/EslintPLluginTestingLibrary.md +++ b/website/docs/EslintPLluginTestingLibrary.md @@ -6,7 +6,7 @@ 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 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: From 6235c30ad8ad97d66a48b8d6cd4f69458cfcabed Mon Sep 17 00:00:00 2001 From: Josh Justice Date: Sun, 2 Oct 2022 15:01:00 -0400 Subject: [PATCH 3/4] Fix inconsistent indentation --- website/docs/EslintPLluginTestingLibrary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/EslintPLluginTestingLibrary.md b/website/docs/EslintPLluginTestingLibrary.md index 56e2c95d9..2a83e9851 100644 --- a/website/docs/EslintPLluginTestingLibrary.md +++ b/website/docs/EslintPLluginTestingLibrary.md @@ -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]*)?$" } ] } From cc1b7c17251f6f099a6acb384cbbdfb8f3974f12 Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Sun, 2 Oct 2022 22:29:45 +0200 Subject: [PATCH 4/4] Update website/docs/EslintPLluginTestingLibrary.md --- website/docs/EslintPLluginTestingLibrary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/EslintPLluginTestingLibrary.md b/website/docs/EslintPLluginTestingLibrary.md index 2a83e9851..08cfe4746 100644 --- a/website/docs/EslintPLluginTestingLibrary.md +++ b/website/docs/EslintPLluginTestingLibrary.md @@ -6,7 +6,7 @@ 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 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 environment 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: