eslint-plugin-react
eslint-plugin-react copied to clipboard
jsx-handler-names update for better error messaging
For example right now a user will see with default settings:
<Component onhandleclick={this.handleClick} />
"Prop key for onclick must begin with on"
Well that error doesn't help me.... The code is really looking for on[A-Z]
so now it will say in the error "on[A-Z]"