Skip to content

Commit

Permalink
feat: use @nuxt/eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 20, 2024
1 parent 8fb9588 commit b224828
Show file tree
Hide file tree
Showing 4 changed files with 2,131 additions and 1,831 deletions.
2 changes: 1 addition & 1 deletion eslint.config.ts → eslint.config.js
Expand Up @@ -6,5 +6,5 @@ export default antfu(
unocss: true,
formatters: true,
},
nuxt,
nuxt(),
)
8 changes: 5 additions & 3 deletions nuxt.config.ts
Expand Up @@ -8,7 +8,7 @@ export default defineNuxtConfig({
'@pinia/nuxt',
'@nuxtjs/color-mode',
'@vite-pwa/nuxt',
'nuxt-module-eslint-config',
'@nuxt/eslint',
],

experimental: {
Expand Down Expand Up @@ -69,7 +69,9 @@ export default defineNuxtConfig({
inlineStyles: false,
},

eslintConfig: {
setup: false,
eslint: {
config: {
standalone: false,
},
},
})
28 changes: 14 additions & 14 deletions package.json
@@ -1,7 +1,7 @@
{
"type": "module",
"private": true,
"packageManager": "pnpm@8.14.1",
"packageManager": "pnpm@8.15.5",
"scripts": {
"build": "nuxi build",
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
Expand All @@ -14,23 +14,23 @@
"typecheck": "vue-tsc --noEmit"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.3",
"@iconify-json/carbon": "^1.1.27",
"@antfu/eslint-config": "^2.8.3",
"@iconify-json/carbon": "^1.1.31",
"@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",
"@unocss/eslint-config": "^0.58.3",
"@unocss/nuxt": "^0.58.3",
"@vite-pwa/nuxt": "^0.4.0",
"@vueuse/nuxt": "^10.7.2",
"@unocss/eslint-config": "^0.58.6",
"@unocss/nuxt": "^0.58.6",
"@vite-pwa/nuxt": "^0.6.0",
"@vueuse/nuxt": "^10.9.0",
"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-ts-patch": "^8.56.0-0",
"nuxt": "^3.9.3",
"nuxt-module-eslint-config": "^0.0.2",
"eslint-ts-patch": "^8.57.0-0",
"nuxt": "^3.11.1",
"pinia": "^2.1.7",
"typescript": "^5.3.3",
"vue-tsc": "^1.8.27"
"typescript": "^5.4.2",
"vue-tsc": "^2.0.7"
}
}

0 comments on commit b224828

Please sign in to comment.