File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,7 @@ Full example:
150
150
151
151
::: code-group
152
152
153
- ``` json [Legacy Config]
154
- // .eslintrc
153
+ ``` json [.eslintrc]
155
154
{
156
155
"root" : true ,
157
156
"plugins" : [" @typescript-eslint" ],
@@ -167,8 +166,7 @@ Full example:
167
166
}
168
167
```
169
168
170
- ``` js [Flat Config]
171
- // eslint.config.js
169
+ ``` js [eslint.config.js]
172
170
import js from ' @eslint/js'
173
171
import eslintPluginVue from ' eslint-plugin-vue'
174
172
import ts from ' typescript-eslint'
@@ -483,8 +481,7 @@ In [Nuxt 3](https://nuxt.com/) or with [`unplugin-auto-import`](https://github.c
483
481
484
482
::: code-group
485
483
486
- ``` json [Legacy Config]
487
- // .eslintrc
484
+ ``` json [.eslintrc]
488
485
{
489
486
"globals" : {
490
487
"ref" : " readonly" ,
@@ -496,8 +493,7 @@ In [Nuxt 3](https://nuxt.com/) or with [`unplugin-auto-import`](https://github.c
496
493
}
497
494
```
498
495
499
- ``` js [Flat Config]
500
- // eslint.config.js
496
+ ``` js [eslint.config.js]
501
497
export default [
502
498
{
503
499
languageOptions: {
You can’t perform that action at this time.
0 commit comments