Skip to content

Commit 22763a1

Browse files
committed
docs: indicate install is for dev ; fixes #274
1 parent 2cc7dd1 commit 22763a1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.README/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ This table maps the rules between `eslint-plugin-jsdoc` and `jscs-jsdoc`.
4949
Install [ESLint](https://www.github.com/eslint/eslint) either locally or globally.
5050

5151
```sh
52-
npm install eslint
52+
npm install --save-dev eslint
5353
```
5454

5555
If you have installed `ESLint` globally, you have to install JSDoc plugin globally too. Otherwise, install it locally.
5656

5757
```sh
58-
npm install eslint-plugin-jsdoc
58+
npm install --save-dev eslint-plugin-jsdoc
5959
```
6060

6161
## Configuration

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ This table maps the rules between `eslint-plugin-jsdoc` and `jscs-jsdoc`.
9494
Install [ESLint](https://www.github.com/eslint/eslint) either locally or globally.
9595

9696
```sh
97-
npm install eslint
97+
npm install --save-dev eslint
9898
```
9999

100100
If you have installed `ESLint` globally, you have to install JSDoc plugin globally too. Otherwise, install it locally.
101101

102102
```sh
103-
npm install eslint-plugin-jsdoc
103+
npm install --save-dev eslint-plugin-jsdoc
104104
```
105105

106106
<a name="eslint-plugin-jsdoc-configuration"></a>

0 commit comments

Comments
 (0)