Open
Description
Follow-up from #68.
The goal of this enhancement request is to support passing async callbacks to other functions, which the user expects will involve the async callback. For example, a user might pass an async callback to a promise's .then
method.
Since we don't have type information available, we probably don't want to have any defaults (not even assuming .then
is for promises). So I would prefer making this a rule option where users could specify an ESQuery expression or similar. Not sure what the best user experience would be, though. Open to suggestions.