-
-
Notifications
You must be signed in to change notification settings - Fork 94
Warn on new Promise.resolve()
#75
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
Labels
Comments
Great idea. Can you submit a PR?
…On Jan 30, 2018 6:44 AM, "Alex Ilyaev" ***@***.***> wrote:
Seeing this from time to time, would be nice to warn about the unnecessary
new in:
new Promise.resolve()
new Promise.reject()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#75>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAPBf4M0A9WHWPvkwOxcpJbpgUmTTMO4ks5tPyq6gaJpZM4RycLG>
.
|
Would this be an addition to the |
I will open a PR with an implementation for further discussion. 👍 |
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 5, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 5, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 7, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 7, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 8, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 10, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 10, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 11, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 12, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 23, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 23, 2018
macklinu
added a commit
to macklinu/eslint-plugin-promise
that referenced
this issue
Feb 25, 2018
macklinu
added a commit
that referenced
this issue
Feb 25, 2018
This will land in an upcoming v3.7.0 release. 👍 |
Great, thanks! |
Just shipped v3.7.0 - please update and report any issues you find with this new rule. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seeing this from time to time, would be nice to warn about the unnecessary
new
in:The text was updated successfully, but these errors were encountered: