Skip to content

Commit 34f37e1

Browse files
committed
docs: do not use the term "Legacy config"
1 parent 8ef29aa commit 34f37e1

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/user-guide/index.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ Full example:
150150

151151
::: code-group
152152

153-
```json [Legacy Config]
154-
// .eslintrc
153+
```json [.eslintrc]
155154
{
156155
"root": true,
157156
"plugins": ["@typescript-eslint"],
@@ -167,8 +166,7 @@ Full example:
167166
}
168167
```
169168

170-
```js [Flat Config]
171-
// eslint.config.js
169+
```js [eslint.config.js]
172170
import js from '@eslint/js'
173171
import eslintPluginVue from 'eslint-plugin-vue'
174172
import ts from 'typescript-eslint'
@@ -483,8 +481,7 @@ In [Nuxt 3](https://nuxt.com/) or with [`unplugin-auto-import`](https://github.c
483481

484482
::: code-group
485483

486-
```json [Legacy Config]
487-
// .eslintrc
484+
```json [.eslintrc]
488485
{
489486
"globals": {
490487
"ref": "readonly",
@@ -496,8 +493,7 @@ In [Nuxt 3](https://nuxt.com/) or with [`unplugin-auto-import`](https://github.c
496493
}
497494
```
498495

499-
```js [Flat Config]
500-
// eslint.config.js
496+
```js [eslint.config.js]
501497
export default [
502498
{
503499
languageOptions: {

0 commit comments

Comments
 (0)