Skip to content

Chokes on [, foo] = arr destructuring pattern #2

@AprilArcus

Description

@AprilArcus

eslint-traverse throws an exception on https://github.com/discord/eslint-traverse/blob/master/index.js#L24 when traversing an array destructuring pattern with an omitted identifier, since the missing identifier's node property is set to null.

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