Skip to content

Commit 7cca33a

Browse files
committed
fix(readme): react plugin install instructions
1 parent ea83d4a commit 7cca33a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ This turns on enforcing the use of semicolons, a rule which is silenced by defau
5050

5151
## React / JSX
5252

53-
With version 2, `eslint-config-fullstack` now has preliminary support for React/JSX projects. Note that you must manually install the peer dependency `eslint-plugin-react`:
53+
With version 2, `eslint-config-fullstack` now has preliminary support for React/JSX projects. Note that you must manually install the additional peer dependency `eslint-plugin-react`:
5454

5555
```sh
56-
npm install --save eslint-plugin-react
56+
npm install -g eslint-plugin-react
5757
```
5858

5959
Then change your `.eslintrc.json` to extend the react sub-config:

0 commit comments

Comments
 (0)