fix(linter/no-promise-executor-return): check if Promise is the global one#17949
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Promise is the global onePromise is the global one
Merging this PR will not alter performance
Comparing Footnotes
|
Merge activity
|
…bal one (#17949) Previously we only checked if the identifier was called `Promise`. Now, we also check if it's the global reference or a locally bound reference.
f0fec5d to
dbe06d8
Compare

Previously we only checked if the identifier was called
Promise. Now, we also check if it's the global reference or a locally bound reference.