You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,16 +34,24 @@ Ryan Florence built out this awesome runtime-analysis tool called [react-a11y](h
34
34
You'll first need to install [ESLint](http://eslint.org):
35
35
36
36
```sh
37
-
$ npm i eslint --save-dev
37
+
# npm
38
+
npm install eslint --save-dev
39
+
40
+
# yarn
41
+
yarn add eslint --dev
38
42
```
39
43
40
44
Next, install `eslint-plugin-jsx-a11y`:
41
45
42
46
```sh
43
-
$ npm install eslint-plugin-jsx-a11y --save-dev
47
+
# npm
48
+
npm install eslint-plugin-jsx-a11y --save-dev
49
+
50
+
# yarn
51
+
yarn add eslint-plugin-jsx-a11y --dev
44
52
```
45
53
46
-
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-jsx-a11y` globally.
54
+
**Note:** If you installed ESLint globally (using the `-g` flag in npm, or the `global` prefix in yarn) then you must also install `eslint-plugin-jsx-a11y` globally.
0 commit comments