We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-handler-names.md
Ensures that any component or prop methods used to handle events are correctly prefixed.
The following patterns are considered warnings:
<MyComponent handleChange={this.handleChange} />
<MyComponent onChange={this.componentChanged} />
The following patterns are not considered warnings:
<MyComponent onChange={this.handleChange} />
<MyComponent onChange={this.props.onFoo} />
Here's an example of the diff that I applied to bitmidi.com in order to comply with this rule: feross/bitmidi.com@67ed076
bitmidi.com
The text was updated successfully, but these errors were encountered:
Shipping in standard 14.
standard
Sorry, something went wrong.
5dfdc83
Require JSX event handler names to follow conventions (react/jsx-hand…
df77676
…ler-names) Fixes: standard/standard#1371
caf3dd0
No branches or pull requests
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-handler-names.md
Ensures that any component or prop methods used to handle events are correctly prefixed.
Rule Details
The following patterns are considered warnings:
The following patterns are not considered warnings:
Here's an example of the diff that I applied to
bitmidi.com
in order to comply with this rule: feross/bitmidi.com@67ed076The text was updated successfully, but these errors were encountered: