Skip to content

[jsx-no-bind] not working without explicit options object #3034

Closed
@rhalaly

Description

@rhalaly

The react/jsx-no-bind not working without explicit options object.

Actual

Code

<Foo onClick={this._handleClick}></Foo>

With "react/jsx-no-bind": "error" there is no error in this code. Only "react/jsx-no-bind": ["error", {}] detects the issue.

Expected

"react/jsx-no-bind": "error" will use the default configuration and detect the issue in the code.

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