Skip to content

resolve-async should support passing callback to specific functions such as .then #87

Open
@platinumazure

Description

@platinumazure

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions