You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
Similar to #1413
So I think we can only warn when using
FunctionExpression
as a callback since in all the other cases we would have to do work to check forthis
/scope.So in my next PR I would make an exception for
node.parent.type === 'VariableDeclarator'
orReturnStatement
Or maybe since its only one case now it should somehow only check if it's a callback (
!node.parent
)?The text was updated successfully, but these errors were encountered: