8000 chore: lint · nuxt/nuxt@0efcf01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0efcf01

Browse files
committed
chore: lint
1 parent b9df0e8 commit 0efcf01

File tree

3 files changed

+45
-45
lines changed

3 files changed

+45
-45
lines changed

docs/1.getting-started/03.configuration.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -147,23 +147,23 @@ As stated above, `runtimeConfig` and `app.config` are both used to expose variab
147147

148148
Nuxt uses [`nuxt.config.ts`](/docs/3.x/directory-structure/nuxt-config) file as the single source of truth for configurations and skips reading external configuration files. During the course of building your project, you may have a need to configure those. The following table highlights common configurations and, where applicable, how they can be configured with Nuxt.
149149

150-
Name | Config File | How To Configure
151-
---------------------------------------------|---------------------------|-------------------------
152-
[Nitro](https://nitro.build) | ~~`nitro.config.ts`~~ | Use [`nitro`](/docs/3.x/api/nuxt-config#nitro) key in `nuxt.config`
153-
[PostCSS](https://postcss.org) | ~~`postcss.config.js`~~ | Use [ 10000 `postcss`](/docs/3.x/api/nuxt-config#postcss) key in `nuxt.config`
154-
[Vite](https://vite.dev) | ~~`vite.config.ts`~~ | Use [`vite`](/docs/3.x/api/nuxt-config#vite) key in `nuxt.config`
155-
[webpack](https://webpack.js.org) | ~~`webpack.config.ts`~~ | Use [`webpack`](/docs/3.x/api/nuxt-config#webpack-1) key in `nuxt.config`
150+
| Name | Config File | How To Configure |
151+
|-----------------------------------|-------------------------|---------------------------------------------------------------------------|
152+
| [Nitro](https://nitro.build) | ~~`nitro.config.ts`~~ | Use [`nitro`](/docs/3.x/api/nuxt-config#nitro) key in `nuxt.config` |
153+
| [PostCSS](https://postcss.org) | ~~`postcss.config.js`~~ | Use [`postcss`](/docs/3.x/api/nuxt-config#postcss) key in `nuxt.config` |
154+
| [Vite](https://vite.dev) | ~~`vite.config.ts`~~ | Use [`vite`](/docs/3.x/api/nuxt-config#vite) key in `nuxt.config` |
155+
| [webpack](https://webpack.js.org) | ~~`webpack.config.ts`~~ | Use [`webpack`](/docs/3.x/api/nuxt-config#webpack-1) key in `nuxt.config` |
156156

157157
Here is a list of other common config files:
158158

159-
Name | Config File | How To Configure
160-
---------------------------------------------|-------------------------|--------------------------
161-
[TypeScript](https://www.typescriptlang.org) | `tsconfig.json` | [More Info](/docs/3.x/directory-structure/tsconfig)
162-
[ESLint](https://eslint.org) | `eslint.config.js` | [More Info](https://eslint.org/docs/latest/use/configure/configuration-files)
163-
[Prettier](https://prettier.io) | `prettier.config.js` | [More Info](https://prettier.io/docs/configuration.html)
164-
[Stylelint](https://stylelint.io) | `stylelint.config.js` | [More Info](https://stylelint.io/user-guide/configure/)
165-
[TailwindCSS](https://tailwindcss.com) | `tailwind.config.js` | [More Info](https://tailwindcss.nuxtjs.org/tailwindcss/configuration/)
166-
[Vitest](https://vitest.dev) | `vitest.config.ts` | [More Info](https://vitest.dev/config/)
159+
| Name | Config File | How To Configure |
160+
|----------------------------------------------|-----------------------|-------------------------------------------------------------------------------|
161+
| [TypeScript](https://www.typescriptlang.org) | `tsconfig.json` | [More Info](/docs/3.x/directory-structure/tsconfig) |
162+
| [ESLint](https://eslint.org) | `eslint.config.js` | [More Info](https://eslint.org/docs/latest/use/configure/configuration-files) |
163+
| [Prettier](https://prettier.io) | `prettier.config.js` | [More Info](https://prettier.io/docs/configuration.html) |
164+
| [Stylelint](https://stylelint.io) | `stylelint.config.js` | [More Info](https://stylelint.io/user-guide/configure/) |
165+
| [TailwindCSS](https://tailwindcss.com) | `tailwind.config.js` | [More Info](https://tailwindcss.nuxtjs.org/tailwindcss/configuration/) |
166+
| [Vitest](https://vitest.dev) | `vitest.config.ts` | [More Info](https://vitest.dev/config/) |
167167

168168
## Vue Configuration
169169

docs/4.api/4.commands/add.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ npx nuxt add <TEMPLATE> <NAME> [--cwd=<directory>] [--logLevel=<silent|info|verb
1414
```
1515
<!--/add-cmd-->
1616

17-
### Arguments
17+
## Arguments
1818

1919
<!--add-args-->
20-
Argument | Description
21-
--- | ---
22-
`TEMPLATE` | Specify which template to generate (options: <api\|app\|app-config\|component\|composable\|error\|layer\|layout\|middleware\|module\|page\|plugin\|server-middleware\|server-plugin\|server-route\|server-util>)
23-
`NAME` | Specify name of the generated file
20+
| Argument | Description |
21+
|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
22+
| `TEMPLATE` | Specify which template to generate (options: <api\|app\|app-config\|component\|composable\|error\|layer\|layout\|middleware\|module\|page\|plugin\|server-middleware\|server-plugin\|server-route\|server-util>) |
23+
| `NAME` | Specify name of the generated file |
2424
<!--/add-args-->
2525

26-
### Options
26+
## Options
2727

2828
<!--add-opts-->
29-
Option | Default | Description
30-
--- | --- | ---
31-
`--cwd=<directory>` | `.` | Specify the working directory
32-
`--logLevel=<silent\|info\|verbose>` | | Specify build-time log level
33-
`--force` | `false` | Force override file if it already exists
29+
| Option | Default | Description |
30+
|--------------------------------------|---------|------------------------------------------|
31+
| `--cwd=<directory>` | `.` | Specify the working directory |
32+
| `--logLevel=<silent\|info\|verbose>` | | Specify build-time log level |
33+
| `--force` | `false` | Force override file if it already exists |
3434
<!--/add-opts-->
3535

3636
**Modifiers:**

docs/5.community/6.roadmap.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ In roadmap below are some features we are planning or working on at the moment.
2828
Check [Discussions](https://github.com/nuxt/nuxt/discussions) and [RFCs](https://github.com/nuxt/nuxt/discussions/categories/rfcs) for more upcoming features and ideas.
2929
::
3030

31-
Milestone | Expected date | Notes | Description
32-
-------------|---------------|------------------------------------------------------------------------|-----------------------
33-
SEO & PWA | 2025 | [nuxt/nuxt#18395](https://github.com/nuxt/nuxt/discussions/18395) | Migrating from [nuxt-community/pwa-module](https://github.com/nuxt-community/pwa-module) for built-in SEO utils and service worker support
34-
Assets | 2025 | [nuxt/nuxt#22012](https://github.com/nuxt/nuxt/discussions/22012) | Allow developers and modules to handle loading third-party assets.
35-
Translations | - | [nuxt/nuxt.com#1711](https://github.com/nuxt/nuxt.com/issues/1711) | A collaborative project for a stable translation process for Nuxt docs. Currently pending for ideas and documentation tooling support.
31+
| Milestone | Expected date | Notes | Description |
32+
|--------------|---------------|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
33+
| SEO & PWA | 2025 | [nuxt/nuxt#18395](https://github.com/nuxt/nuxt/discussions/18395) | Migrating from [nuxt-community/pwa-module](https://github.com/nuxt-community/pwa-module) for built-in SEO utils and service worker support |
34+
| Assets | 2025 | [nuxt/nuxt#22012](https://github.com/nuxt/nuxt/discussions/22012) | Allow developers and modules to handle loading third-party assets. |
35+
| Translations | - | [nuxt/nuxt.com#1711](https://github.com/nuxt/nuxt.com/issues/1711) | A collaborative project for a stable translation process for Nuxt docs. Currently pending for ideas and documentation tooling support. |
3636

3737
## Core Modules Roadmap
3838

@@ -63,22 +63,22 @@ The current active version of [Nuxt](https://nuxt.com) is **v4** which is availa
6363

6464
Nuxt 3 will continue to receive maintenance updates (both bug fixes and backports of features from Nuxt 4) until the end of January 2026.
6565

66-
Each active version has its own nightly releases which are generated automatically. For more about enabling the Nuxt nightly release channel, see [the nightly release channel docs](/docs/3.x/guide/going-further/nightly-release-channel).
66+
Each active version has its own nightly releases which are generated automatically. For more about enabling the Nuxt nightly release channel, see [the nightly release channel docs](/docs/4.x/guide/going-further/nightly-release-channel).
6767

68-
Release | | Initial release | End Of Life | Docs
69-
-------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ---------------------------- | ---------------------------------------
70-
**5.x** (scheduled) | | Q4 2025 (estimated) | TBA | &nbsp;
71-
**4.x** (stable) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt latest version" src="https://img.shields.io/npm/v/nuxt.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2025-07-16 | 6 months after 5.x release | [nuxt.com](/docs/3.x/getting-started/introduction)
72-
**3.x** (maintenance) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 3.x version" src="https://img.shields.io/npm/v/nuxt/3x.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2022-11-16 | 2026-01-31 | [nuxt.com](/docs/3.x/getting-started/introduction)
73-
**2.x** (unsupported) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 2.x version" src="https://img.shields.io/npm/v/nuxt/2x.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2018-09-21 | 2024-06-30 | [v2.nuxt.com](https://v2.nuxt.com/docs/get-started/installation/)
74-
**1.x** (unsupported) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 1.x version" src="https://img.shields.io/npm/v/nuxt/1x.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2018-01-08 | 2019-09-21 | &nbsp;
68+
| Release | | Initial release | End Of Life | Docs |
69+
|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|----------------------------|-------------------------------------------------------------------|
70+
| **5.x** (scheduled) | | Q4 2025 (estimated) | TBA | &nbsp; |
71+
| **4.x** (stable) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt latest version" src="https://img.shields.io/npm/v/nuxt.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2025-07-16 | 6 months after 5.x release | [nuxt.com](/docs/4.x/getting-started/introduction) |
72+
| **3.x** (maintenance) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 3.x version" src="https://img.shields.io/npm/v/nuxt/3x.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2022-11-16 | 2026-01-31 | [nuxt.com](/docs/3.x/getting-started/introduction) |
73+
| **2.x** (unsupported) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 2.x version" src="https://img.shields.io/npm/v/nuxt/2x.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2018-09-21 | 2024-06-30 | [v2.nuxt.com](https://v2.nuxt.com/docs/get-started/installation/) |
74+
| **1.x** (unsupported) | <a href="https://www.npmjs.com/package/nuxt?activeTab=versions"><img alt="Nuxt 1.x version" src="https://img.shields.io/npm/v/nuxt/1x.svg?logo=nuxt&label=&style=flat&colorA=18181B&colorB=28CF8D" class="not-prose h-5 w-auto" :zoom="false"></a> | 2018-01-08 | 2019-09-21 | &nbsp; |
7575

7676
### Support Status
7777

78-
Status | Description
79-
------------|----------------------------------------------------------------------------------
80-
Unsupported | This version is not maintained any more and will not receive security patches
81-
Maintenance | This version will only receive security patches
82-
Stable | This version is being developed for and will receive security patches
83-
Development | This version could be unstable
84-
Scheduled | This version does not exist yet but is planned
78+
| Status | Description |
79+
|-------------|-------------------------------------------------------------------------------|
80+
| Unsupported | This version is not maintained any more and will not receive security patches |
81+
| Maintenance | This version will only receive security patches |
82+
| Stable | This version is being developed for and will receive security patches |
83+
| Development | This version could be unstable |
84+
| Scheduled | This version does not exist yet but is planned |

0 commit comments

Comments
 (0)
0