Skip to content

Commit 7cb7b58

Browse files
chore: delete custom rule to await user event
1 parent 87b004f commit 7cb7b58

File tree

4 files changed

+4
-80
lines changed

4 files changed

+4
-80
lines changed

packages/eslint-plugin/README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,12 @@ This plugin exports some custom rules that you can optionally use in your projec
102102

103103
<!-- begin auto-generated rules list -->
104104

105-
💼 Configurations enabled in.\
106-
🧪 Set in the `tests` configuration.\
107105
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
108106

109-
| Name | Description | 💼 | 🔧 |
110-
| :------------------------------------------------------------------------------------------------------------------------------------------------ | :----------------------------------------------------- | :-- | :-- |
111-
| [await-user-event](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/await-user-event.md) | Enforces awaiting userEvent calls | 🧪 | 🔧 |
112-
| [prefer-user-event](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/prefer-user-event.md) | Enforces usage of userEvent over fireEvent in tests. | | 🔧 |
113-
| [require-named-effect](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/require-named-effect.md) | Enforces the use of named functions inside a useEffect | | |
107+
| Name | Description | 🔧 |
108+
| :------------------------------------------------------------------------------------------------------------------------------------------------ | :----------------------------------------------------- | :-- |
109+
| [prefer-user-event](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/prefer-user-event.md) | Enforces usage of userEvent over fireEvent in tests. | 🔧 |
110+
| [require-named-effect](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/require-named-effect.md) | Enforces the use of named functions inside a useEffect | |
114111

115112
<!-- end auto-generated rules list -->
116113

packages/eslint-plugin/docs/rules/await-user-event.md

-23
This file was deleted.

packages/eslint-plugin/lib/configs/tests.js

-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,5 @@ module.exports = defineConfig({
4545
"testing-library/prefer-presence-queries": "error",
4646
"testing-library/no-wait-for-side-effects": "error",
4747
"testing-library/prefer-screen-queries": "error",
48-
"@bam.tech/await-user-event": "error",
4948
},
5049
});

packages/eslint-plugin/lib/rules/await-user-event.js

-49
This file was deleted.

0 commit comments

Comments
 (0)