Skip to content
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

feat: add no-multiple-resolved rule #369

Merged
merged 3 commits into from
Oct 1, 2022
Merged

Conversation

ota-meshi
Copy link
Member

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • New rule
  • Changes an existing rule
  • Add autofixing to a rule
  • Other, please explain:

What changes did you make? (Give an overview)

This PR adds no-multiple-resolved rule that warns of paths that resolve multiple times in executor functions that
Promise constructors.

close #222

@MichaelDeBoey MichaelDeBoey merged commit 3a6fdbe into main Oct 1, 2022
@MichaelDeBoey MichaelDeBoey deleted the no-multiple-resolved branch October 1, 2022 18:18
@github-actions
Copy link
Contributor

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature proposal: no-double-resolve. Warn against resolving a promise twice, or execution after resolve.
2 participants