Skip to content

Commit

Permalink
[Docs] no-static-element-interactions: Fixed rule name in comments
Browse files Browse the repository at this point in the history
Merge pull request #724 from chiragswadia/patch-1
  • Loading branch information
ljharb committed Jul 6, 2020
2 parents 615cacd + 645900a commit c2ae092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-static-element-interactions.md
Expand Up @@ -44,7 +44,7 @@ If your element is catching bubbled click or key events from descendant elements

```jsx
{/* The <div> element has a child <button> element that allows keyboard interaction */}
{/* eslint-disable-next-line no-static-element-interactions */}
{/* eslint-disable-next-line jsx-a11y/no-static-element-interactions */}
<div onClick={this.handleButtonClick}>
<button>Save</button>
<button>Cancel</button>
Expand Down

0 comments on commit c2ae092

Please sign in to comment.