-
Notifications
You must be signed in to change notification settings - Fork 77
Error when overriding nuxt/javascript config #408
Copy link
Copy link
Closed
Labels
Description
Environment
- Operating System:
Darwin - Node Version:
v18.16.1 - Nuxt Version:
3.11.1 - CLI Version:
3.11.1 - Nitro Version:
2.9.4 - Package Manager:
yarn@3.6.1 - Builder:
- - User Config:
rootDir,devtools,typescript,sourcemap,alias,imports,runtimeConfig,modules,app,vite,css,doxErrors,i18n,build,server,analyze,loading,telemetry,vuex4 - Runtime Modules:
@nuxt/test-utils/module@3.12.0,@dox/nuxt-vuex4-module@1.1.2,@dox/analytics/lib/nuxt/module3.js@3.394.0,@nuxtjs/i18n@8.2.0,@dox/auth-nuxt@1.0.11,@dox/errors-js@2.7.2,@vueuse/nuxt@10.9.0,@nuxt/eslint@0.3.8 - Build Modules:
-
Package
@nuxt/eslint
Reproduction
https://stackblitz.com/edit/github-xbgijp?file=eslint.config.mjs
Describe the bug
The .override('@eslint/js/recommended', {}) config does not work in nuxt dev tools eslint panel and gives the error:
Available names are: nuxt/javascript, nuxt/typescript/setup, nuxt/typescript/rules, nuxt/vue/setup, nuxt/vue/rules, nuxt/import/rules, nuxt/configs, nuxt/vue/single-root, nuxt/rules, nuxt/disables/routes, nuxt/import-globals
However, if I use nuxt/javascript, then the CLI gives the error:
Available names are: @eslint/js/recommended, nuxt/typescript/setup, nuxt/typescript/rules, nuxt/vue/setup, nuxt/vue/rules, nuxt/import/rules, nuxt/configs, nuxt/vue/single-root, nuxt/rules, nuxt/disables/routes, nuxt/import-globals
Additional context
Nuxt dev tools eslint panel doesn't seem to work in StackBlitz, but the StackBlitz link can be used to copy the eslint config to a local project for testing.
Logs
No response
Reactions are currently unavailable