Skip to content

prefer-tacit: regression on method calls #805

Closed
@abrahamguo

Description

@abrahamguo

Bug Report

Regression introduced in #801:
prefer-tacit reports on [''].filter(str => /a/.test(str)).

Expected behavior

No errors reported, since changing to [''].filter(/a/.test) causes a JavaScript error.

Actual behavior

No reports by prefer-tacit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugInconsistencies or issues which will cause a problem for users or implementors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions