Browse Source

Update ESLint Plugin installation command (#1758)

main
José Antonio Chio 6 years ago
committed by Alexey Pyltsyn
parent
commit
7be4caf210
  1. 2
      content/docs/hooks-rules.md

2
content/docs/hooks-rules.md

@ -28,7 +28,7 @@ By following this rule, you ensure that all stateful logic in a component is cle
We released an ESLint plugin called [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) that enforces these two rules. You can add this plugin to your project if you'd like to try it:
```bash
npm install eslint-plugin-react-hooks
npm install eslint-plugin-react-hooks --save-dev
```
```js

Loading…
Cancel
Save