Skip to content

Migrate from isMethodCall to AST guards #34

@43081j

Description

@43081j

We currently have various "black box" utilities like isMethodCall which take options objects to do a bunch of node conditions.

This is extremely inefficient since most of the calls are deoptimised (megamorphic stuff).

We should move all rules over time to use more atomic utilities from ast/guards.js instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions