Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 72361ce

Browse files
committed
style: small lintings
1 parent 3f6bfd7 commit 72361ce

File tree

4 files changed

+33
-32
lines changed

4 files changed

+33
-32
lines changed

docs/docus.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export default {
22
title: 'Nuxt Composition API',
33
url: 'https://composition-api.nuxtjs.org',
4-
twitter: "nuxt_js",
4+
twitter: 'nuxt_js',
55
github: {
66
repo: 'nuxt-community/composition-api',
7-
branch: 'main'
8-
}
9-
}
7+
branch: 'main',
8+
},
9+
}

docs/pages/en/1.getting-started/2.setup.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ description: 'Getting started with the Nuxt Composition API.'
88
1. First, install `@nuxtjs/composition-api`:
99

1010
::::code-group
11-
::::code-block{label="Yarn" active}
11+
::::code-block{label="Yarn" active}
1212

13-
```bash
14-
yarn add @nuxtjs/composition-api
15-
```
13+
```bash
14+
yarn add @nuxtjs/composition-api
15+
```
1616

17-
::::
18-
::::code-block{label="NPM"}
17+
::::
18+
::::code-block{label="NPM"}
1919

20-
```bash
21-
npm install @nuxtjs/composition-api --save
22-
```
20+
```bash
21+
npm install @nuxtjs/composition-api --save
22+
```
2323

24-
::::
24+
::::
2525
:::::
2626

2727
2. Enable the module.

docs/pages/en/index.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,25 @@ navigation: false
1010
title: title
1111
description: description
1212
cta:
13-
- Get started
14-
- /getting-started/introduction
15-
secondary:
16-
- Open on GitHub
17-
- https://github.com/nuxt-community/composition-api
18-
snippet: yarn add --dev @nuxtjs/composition-api
19-
:::
2013

21-
::::card-grid{title="What's included?"}
22-
:::card{icon="IconVue" title="Vue 3 Composition API"}
23-
Get all the Composition API features in Nuxt 2.
14+
- Get started
15+
- /getting-started/introduction
16+
secondary:
17+
- Open on GitHub
18+
- https://github.com/nuxt-community/composition-api
19+
snippet: yarn add --dev @nuxtjs/composition-api
2420
:::
2521

26-
:::card{icon="IconNuxt" title="SSR features"}
27-
Additional helpers to interact with SSR.
28-
:::
22+
::::card-grid{title="What's included?"}
23+
:::card{icon="IconVue" title="Vue 3 Composition API"}
24+
Get all the Composition API features in Nuxt 2.
25+
:::
2926

30-
:::card{icon="IconSun" title="Easy migration"}
31-
Be ready for Nuxt 3.
32-
:::
27+
:::card{icon="IconNuxt" title="SSR features"}
28+
Additional helpers to interact with SSR.
29+
:::
30+
31+
:::card{icon="IconSun" title="Easy migration"}
32+
Be ready for Nuxt 3.
33+
:::
3334
::::

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"fixture:generate:export": "yarn clean:fixture && cross-env GENERATE=true PORT=6000 CMD=generate yarn nuxt-run",
4545
"fixture:prod": "yarn clean:fixture && cross-env CMD=build yarn nuxt-run && cross-env CMD=start yarn nuxt-run",
4646
"lint": "run-s lint:all:*",
47-
"lint:all:eslint": "yarn lint:eslint --ext .js,.ts,.vue .",
48-
"lint:all:prettier": "yarn lint:prettier \"**/*.{js,json,ts,vue,md}\"",
47+
"lint:all:eslint": "yarn lint:eslint --ext .js,.mjs,.ts,.vue .",
48+
"lint:all:prettier": "yarn lint:prettier \"**/*.{js,mjs,json,ts,vue,md}\"",
4949
"lint:eslint": "eslint --fix",
5050
"lint:prettier": "prettier --write --loglevel warn",
5151
"now-build": "NOW_BUILD=true yarn fixture:generate:export",

0 commit comments

Comments
 (0)