eslint-plugin-react icon indicating copy to clipboard operation
eslint-plugin-react copied to clipboard

jsx-handler-names update for better error messaging

Open cbengtson85 opened this issue 8 years ago • 0 comments

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]"

cbengtson85 avatar Aug 21 '17 04:08 cbengtson85