Skip to content

Commit 07bd3d5

Browse files
authored
docs: use --dev vs -D for greater clarity (#540)
1 parent 4822430 commit 07bd3d5

File tree

6 files changed

+24
-13
lines changed

6 files changed

+24
-13
lines changed

docs/content/en/guide/lint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ If you're already using `@nuxtjs/eslint-config`, remove it from your dependencie
2121
<code-block label="Yarn" active>
2222

2323
```sh
24-
yarn add -D @nuxtjs/eslint-config-typescript
24+
yarn add --dev @nuxtjs/eslint-config-typescript
2525
```
2626

2727
</code-block>
2828
<code-block label="NPM">
2929

3030
```sh
31-
npm i -D @nuxtjs/eslint-config-typescript
31+
npm i --save-dev @nuxtjs/eslint-config-typescript
3232
```
3333

3434
</code-block>

docs/content/es/guide/lint.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,23 @@ Si usted esta usando `@nuxtjs/eslint-config`, eliminelo de sus dependencias, la
1717

1818
</alert>
1919

20+
<code-group>
21+
<code-block label="Yarn" active>
22+
23+
```sh
24+
yarn add --dev @nuxtjs/eslint-config-typescript
25+
```
26+
27+
</code-block>
28+
<code-block label="NPM">
29+
2030
```sh
21-
npm i -D @nuxtjs/eslint-config-typescript
22-
# OR
23-
yarn add -D @nuxtjs/eslint-config-typescript
31+
npm i --save-dev @nuxtjs/eslint-config-typescript
2432
```
2533

34+
</code-block>
35+
</code-group>
36+
2637
Luego, cree o edite su configuración de ESLint `.eslintrc.js` para que extienda de `@nuxtjs/eslint-config-typescript` :
2738
```js
2839
module.exports = {

docs/content/ja/guide/lint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ category: ガイド
2121
<code-block label="Yarn" active>
2222

2323
```sh
24-
yarn add -D @nuxtjs/eslint-config-typescript
24+
yarn add --dev @nuxtjs/eslint-config-typescript
2525
```
2626

2727
</code-block>
2828
<code-block label="NPM">
2929

3030
```sh
31-
npm i -D @nuxtjs/eslint-config-typescript
31+
npm i --save-dev @nuxtjs/eslint-config-typescript
3232
```
3333

3434
</code-block>

docs/content/pt/guide/lint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ Se você já estiver usando `@nuxtjs/eslint-config`, o remova de suas dependênc
2121
<code-block label="Yarn" active>
2222

2323
```sh
24-
yarn add -D @nuxtjs/eslint-config-typescript
24+
yarn add --dev @nuxtjs/eslint-config-typescript
2525
```
2626

2727
</code-block>
2828
<code-block label="NPM">
2929

3030
```sh
31-
npm i -D @nuxtjs/eslint-config-typescript
31+
npm i --save-dev @nuxtjs/eslint-config-typescript
3232
```
3333

3434
</code-block>

docs/content/zh-Hans/guide/lint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ category: 指南
2121
<code-block label="Yarn" active>
2222

2323
```sh
24-
yarn add -D @nuxtjs/eslint-config-typescript
24+
yarn add --dev @nuxtjs/eslint-config-typescript
2525
```
2626

2727
</code-block>
2828
<code-block label="NPM">
2929

3030
```sh
31-
npm i -D @nuxtjs/eslint-config-typescript
31+
npm i --save-dev @nuxtjs/eslint-config-typescript
3232
```
3333

3434
</code-block>

docs/content/zh-Hant/guide/lint.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ Nuxt TypeScript ESLint 的設定檔已經包含 `@nuxtjs/eslint-config`,如果
2121
<code-block label="Yarn" active>
2222

2323
```sh
24-
yarn add -D @nuxtjs/eslint-config-typescript
24+
yarn add --dev @nuxtjs/eslint-config-typescript
2525
```
2626

2727
</code-block>
2828
<code-block label="NPM">
2929

3030
```sh
31-
npm i -D @nuxtjs/eslint-config-typescript
31+
npm i --save-dev @nuxtjs/eslint-config-typescript
3232
```
3333

3434
</code-block>

0 commit comments

Comments
 (0)