-
Notifications
You must be signed in to change notification settings - Fork 22
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
qunit/resolve-async doesn't recognise .call/.apply #68
Comments
Hi @edg2s, thanks for the issue. I would regard the first two ( The last, I would say is a rule enhancement. I'm not sure whether I want to allow all function calls with the callback being passed (either by option or by default), or if instead we could use AST selectors to ensure that only certain function calls with the callback would "count" (e.g., must be a call to |
I think whitelisting the caller to |
The I'll create a separate issue for the enhancement request of tracking if the callback is passed to specific methods such as |
The following example fails linting, despite
done
being called in three different waysthe third case being what we use here: https://github.com/wikimedia/VisualEditor/blob/master/tests/ce/ve.ce.Surface.test.js#L10
The text was updated successfully, but these errors were encountered: