Skip to content

Commit

Permalink
Update jsx-uses-vars.md (#1060)
Browse files Browse the repository at this point in the history
the variable should be `HelloWorld` not `Hello`
  • Loading branch information
lilywang711 committed Feb 29, 2020
1 parent f955a55 commit ab3bf36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/jsx-uses-vars.md
Expand Up @@ -30,7 +30,7 @@ export default {
};
```

After turning on, `Hello` is being marked as used and `no-unused-vars` rule doesn't report an issue.
After turning on, `HelloWorld` is being marked as used and `no-unused-vars` rule doesn't report an issue.

## :mute: When Not To Use It

Expand Down

0 comments on commit ab3bf36

Please sign in to comment.