Skip to content

Commit

Permalink
[readme] tweak instructions to specify an eslint version to install
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 3, 2021
1 parent d62ab20 commit bf08998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ React specific linting rules for `eslint`
Install [`eslint`](https://www.github.com/eslint/eslint) either locally or globally. (Note that locally, per project, is strongly preferred)

```sh
$ npm install eslint --save-dev
$ npm install eslint@7 --save-dev
```

If you installed `eslint` globally, you have to install React plugin globally too. Otherwise, install it locally.
If you installed `eslint` globally, you have to install the React plugin globally too. Otherwise, install it locally (strongly preferred)

```sh
$ npm install eslint-plugin-react --save-dev
Expand Down

0 comments on commit bf08998

Please sign in to comment.