File tree Expand file tree Collapse file tree 4 files changed +414
-954
lines changed Expand file tree Collapse file tree 4 files changed +414
-954
lines changed Original file line number Diff line number Diff line change 1
1
import antfu from '@antfu/eslint-config'
2
2
import nuxt from './.nuxt/eslint.config.mjs'
3
3
4
- export default antfu ( {
5
- unocss : true ,
6
- formatters : true ,
7
- } , nuxt )
4
+ export default nuxt (
5
+ antfu ( {
6
+ unocss : true ,
7
+ formatters : true ,
8
+ } ) ,
9
+ )
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ export default defineNuxtConfig({
4
4
modules : [
5
5
'@vant/nuxt' ,
6
6
'@unocss/nuxt' ,
7
- 'nuxt-module-eslint-config' ,
8
7
'@nuxtjs/color-mode' ,
8
+ '@nuxt/eslint' ,
9
9
] ,
10
10
11
11
css : [
@@ -49,4 +49,10 @@ export default defineNuxtConfig({
49
49
devtools : { enabled : true } ,
50
50
51
51
typescript : { shim : false } ,
52
+
53
+ eslint : {
54
+ config : {
55
+ standalone : false ,
56
+ } ,
57
+ } ,
52
58
} )
Original file line number Diff line number Diff line change 19
19
},
20
20
"devDependencies" : {
21
21
"@antfu/eslint-config" : " ^2.12.2" ,
22
+ "@nuxt/eslint" : " ^0.3.1" ,
22
23
"@unocss/eslint-plugin" : " ^0.59.0" ,
23
24
"@unocss/nuxt" : " ^0.59.0" ,
24
25
"@unocss/preset-rem-to-px" : " ^0.59.0" ,
25
26
"@vant/nuxt" : " ^1.0.4" ,
26
- "eslint" : " npm:eslint-ts-patch@^ 8.57.0- 0" ,
27
+ "eslint" : " 8.57.0" ,
27
28
"eslint-plugin-format" : " ^0.1.0" ,
28
- "eslint-ts-patch" : " ^8.57.0-0" ,
29
- "nuxt-module-eslint-config" : " ^0.1.1" ,
30
29
"postcss-mobile-forever" : " ^4.1.2" ,
31
30
"typescript" : " ^5.4.4" ,
32
31
"vant" : " ^4.8.10" ,
You can’t perform that action at this time.
0 commit comments