feat: add nuxt-module-eslint-config
This commit is contained in:
1 parent
4e0e30dd01
commit
d29567248b
6 files changed
+1857
-2237
No files matched your search
Vendored
+2
-2
@@ -12,8 +12,8 @@
|
||||
|
||||
// Auto fix
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true,
|
||||
"source.organizeImports": false
|
||||
"source.fixAll.eslint": "explicit",
|
||||
"source.organizeImports": "never"
|
||||
},
|
||||
|
||||
// Silent the stylistic rules in you IDE, but still auto fix them
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import antfu from '@antfu/eslint-config'
|
||||
import nuxt from './.nuxt/eslint.config.mjs'
|
||||
|
||||
export default antfu(
|
||||
{
|
||||
unocss: true,
|
||||
formatters: true,
|
||||
},
|
||||
nuxt,
|
||||
)
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
[build.environment]
|
||||
NODE_VERSION = "16"
|
||||
|
||||
[build]
|
||||
publish = "dist"
|
||||
command = "pnpm run build"
|
||||
|
||||
[build.environment]
|
||||
NODE_VERSION = "16"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
|
||||
+10
-1
@@ -8,13 +8,13 @@ export default defineNuxtConfig({
|
||||
'@pinia/nuxt',
|
||||
'@nuxtjs/color-mode',
|
||||
'@vite-pwa/nuxt',
|
||||
'nuxt-module-eslint-config',
|
||||
],
|
||||
|
||||
experimental: {
|
||||
// when using generate, payload js assets included in sw precache manifest
|
||||
// but missing on offline, disabling extraction it until fixed
|
||||
payloadExtraction: false,
|
||||
inlineSSRStyles: false,
|
||||
renderJsonPayloads: true,
|
||||
typedPages: true,
|
||||
},
|
||||
@@ -61,4 +61,13 @@ export default defineNuxtConfig({
|
||||
devtools: {
|
||||
enabled: true,
|
||||
},
|
||||
|
||||
features: {
|
||||
// For UnoCSS
|
||||
inlineStyles: false,
|
||||
},
|
||||
|
||||
eslintConfig: {
|
||||
setup: false,
|
||||
},
|
||||
})
|
||||
+13
-12
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@8.12.0",
|
||||
"packageManager": "pnpm@8.14.1",
|
||||
"scripts": {
|
||||
"build": "nuxi build",
|
||||
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
|
||||
@@ -14,22 +14,23 @@
|
||||
"typecheck": "vue-tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^2.4.4",
|
||||
"@iconify-json/carbon": "^1.1.25",
|
||||
"@iconify-json/twemoji": "^1.1.14",
|
||||
"@antfu/eslint-config": "^2.6.3",
|
||||
"@iconify-json/carbon": "^1.1.27",
|
||||
"@iconify-json/twemoji": "^1.1.15",
|
||||
"@nuxtjs/color-mode": "^3.3.2",
|
||||
"@pinia/nuxt": "^0.5.1",
|
||||
"@unocss/eslint-config": "^0.58.0",
|
||||
"@unocss/nuxt": "^0.58.0",
|
||||
"@vite-pwa/nuxt": "^0.3.5",
|
||||
"@vueuse/nuxt": "^10.7.0",
|
||||
"@unocss/eslint-config": "^0.58.3",
|
||||
"@unocss/nuxt": "^0.58.3",
|
||||
"@vite-pwa/nuxt": "^0.4.0",
|
||||
"@vueuse/nuxt": "^10.7.2",
|
||||
"consola": "^3.2.3",
|
||||
"eslint": "npm:eslint-ts-patch@^8.55.0-1",
|
||||
"eslint": "npm:eslint-ts-patch@^8.56.0-0",
|
||||
"eslint-plugin-format": "^0.1.0",
|
||||
"eslint-ts-patch": "^8.55.0-1",
|
||||
"nuxt": "^3.8.2",
|
||||
"eslint-ts-patch": "^8.56.0-0",
|
||||
"nuxt": "^3.9.3",
|
||||
"nuxt-module-eslint-config": "^0.0.2",
|
||||
"pinia": "^2.1.7",
|
||||
"typescript": "^5.3.3",
|
||||
"vue-tsc": "^1.8.25"
|
||||
"vue-tsc": "^1.8.27"
|
||||
}
|
||||
}
|
||||
Generated
+1827
-2219
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user