-
Notifications
You must be signed in to change notification settings - Fork 149
False positive for await-async-utils #715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this @matheusmb! We probably need to skip reporting nodes when destructuring. |
@Belco90 can I contribute to this issue? I cannot promise that I'll be able to solve this without help, but I'd like to try it nonetheless. If I see it's too much, I would let you know accordingly. |
@patriscus By all means! Let us know if you need help. |
🎉 This issue has been resolved in version 5.10.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 6.0.0-alpha.15 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Have you read the Troubleshooting section?
Yes
Plugin version
v5.9.1
ESLint version
v7.32.0
Node.js version
v14.18.1
package manager and version
6.14.17
Operating system
WSL2
Bug description
On creating a wrapper around a testing-library async util, eslint triggers the false positive rule
await-async-utils
.Steps to reproduce
I created the following helper in my setup function:
When I try to use it inside a test:
Error output/screenshots
No response
ESLint configuration
Rule(s) affected
await-async-utils
Anything else?
No response
Do you want to submit a pull request to fix this bug?
No
The text was updated successfully, but these errors were encountered: