Skip to content

Commit bf08998

Browse files
committed
[readme] tweak instructions to specify an eslint version to install
1 parent d62ab20 commit bf08998

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
@@ -10,10 +10,10 @@ React specific linting rules for `eslint`
1010
Install [`eslint`](https://www.github.com/eslint/eslint) either locally or globally. (Note that locally, per project, is strongly preferred)
1111

1212
```sh
13-
$ npm install eslint --save-dev
13+
$ npm install eslint@7 --save-dev
1414
```
1515

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

1818
```sh
1919
$ npm install eslint-plugin-react --save-dev

0 commit comments

Comments
 (0)