feat: use @nuxt/eslint
This commit is contained in:
1 parent
8fb9588ea2
commit
b2248289ab
4 files changed
+2128
-1828
No files matched your search
@@ -6,5 +6,5 @@ export default antfu(
|
|||||||
unocss: true,
|
unocss: true,
|
||||||
formatters: true,
|
formatters: true,
|
||||||
},
|
},
|
||||||
nuxt,
|
nuxt(),
|
||||||
)
|
)
|
||||||
+5
-3
@@ -8,7 +8,7 @@ export default defineNuxtConfig({
|
|||||||
'@pinia/nuxt',
|
'@pinia/nuxt',
|
||||||
'@nuxtjs/color-mode',
|
'@nuxtjs/color-mode',
|
||||||
'@vite-pwa/nuxt',
|
'@vite-pwa/nuxt',
|
||||||
'nuxt-module-eslint-config',
|
'@nuxt/eslint',
|
||||||
],
|
],
|
||||||
|
|
||||||
experimental: {
|
experimental: {
|
||||||
@@ -69,7 +69,9 @@ export default defineNuxtConfig({
|
|||||||
inlineStyles: false,
|
inlineStyles: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
eslintConfig: {
|
eslint: {
|
||||||
setup: false,
|
config: {
|
||||||
|
standalone: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
+14
-14
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@8.14.1",
|
"packageManager": "pnpm@8.15.5",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nuxi build",
|
"build": "nuxi build",
|
||||||
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
|
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
|
||||||
@@ -14,23 +14,23 @@
|
|||||||
"typecheck": "vue-tsc --noEmit"
|
"typecheck": "vue-tsc --noEmit"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^2.6.3",
|
"@antfu/eslint-config": "^2.8.3",
|
||||||
"@iconify-json/carbon": "^1.1.27",
|
"@iconify-json/carbon": "^1.1.31",
|
||||||
"@iconify-json/twemoji": "^1.1.15",
|
"@iconify-json/twemoji": "^1.1.15",
|
||||||
"@nuxtjs/color-mode": "^3.3.2",
|
"@nuxt/eslint": "^0.3.0-beta.2",
|
||||||
|
"@nuxtjs/color-mode": "^3.3.3",
|
||||||
"@pinia/nuxt": "^0.5.1",
|
"@pinia/nuxt": "^0.5.1",
|
||||||
"@unocss/eslint-config": "^0.58.3",
|
"@unocss/eslint-config": "^0.58.6",
|
||||||
"@unocss/nuxt": "^0.58.3",
|
"@unocss/nuxt": "^0.58.6",
|
||||||
"@vite-pwa/nuxt": "^0.4.0",
|
"@vite-pwa/nuxt": "^0.6.0",
|
||||||
"@vueuse/nuxt": "^10.7.2",
|
"@vueuse/nuxt": "^10.9.0",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"eslint": "npm:eslint-ts-patch@^8.56.0-0",
|
"eslint": "npm:eslint-ts-patch@^8.57.0-0",
|
||||||
"eslint-plugin-format": "^0.1.0",
|
"eslint-plugin-format": "^0.1.0",
|
||||||
"eslint-ts-patch": "^8.56.0-0",
|
"eslint-ts-patch": "^8.57.0-0",
|
||||||
"nuxt": "^3.9.3",
|
"nuxt": "^3.11.1",
|
||||||
"nuxt-module-eslint-config": "^0.0.2",
|
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.1.7",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.4.2",
|
||||||
"vue-tsc": "^1.8.27"
|
"vue-tsc": "^2.0.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+2108
-1810
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user