-
Notifications
You must be signed in to change notification settings - Fork 148
fix(await-async-utils): false positive when destructuring #722
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
fix(await-async-utils): false positive when destructuring #722
Conversation
…g variable declarator nodes
I'd also appreciate it if someone could also help me in figuring out why the lint step fails - seems like it's around files I haven't even touched? 🤔 |
Thanks @patriscus! I'll try to take a look in the following days. The linting errors reported... I'm afraid that's because we don't pin the dev dependencies, so a new version got installed, reporting more errors. I'll fix that in a separate PR, sorry about that. |
Linting errors should be gone now if you update your branch with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoa, the PR looks great! You just need to iterate the tests over the ...ASYNC_UTILS.map()
and should be ready to go. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved by mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! Looking great now, thanks for your contribution!
🎉 This PR is included in version 5.10.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 6.0.0-alpha.15 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Checks
Changes
isAsyncUtilOrKnownAliasAroundIt
to reduce indentationVariableDeclarator
nodes, detect destructured property aliases and assignments of known async wrapper functionsgetMessageId
functionContext
Fixes #715