Closed
Description
render () {
return (
<MyComponent
onValidate={this.isAdmin ? this.onValidateAdmin.bind(this) : this.onValidate.bind(this)}
onRequestClose={this.onRequestClose.bind(this)}
{...props}
>
)
}
In the code above, the rules 'react/jsx-no-bind' is marking onRequestClose as a warning but not onValidate, although it should in my opinion.
I'll open a PR fixing this bug.