Closed RomanKollerSnoop closed 1 month ago
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info. Please provide a minimal reproduction to reopen the issue. Thanks.
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info. Please provide a minimal reproduction to reopen the issue. Thanks.
Well... the reproduction is there. Just copy the configs and paste them into the eslint.config.js file in any nuxt 3 project :/
Environment
Darwin
v20.11.0
3.11.2
3.11.1
2.9.6
yarn@4.1.1
-
devtools
,srcDir
,css
,runtimeConfig
,components
,modules
,svgIconSprite
,eslint
,routeRules
,vite
,security
,pwa
@pinia/nuxt@0.5.1
,nuxt-security@2.0.0-beta.5
,nuxt-svg-icon-sprite@1.0.1
,nuxt-swiper@1.2.2
,nuxt-purgecss@2.0.0
,@vite-pwa/nuxt@0.7.0
-
Package
@nuxt/eslint
Reproduction
// eslint.config.js
Describe the bug
I am using ESLint version 9.2.0 in a Nuxt 3 project. When running ESLint, it throws a ConfigError indicating that the "import" plugin is being redefined. This issue occurs even after following the recommended setup and ensuring that the plugin is not explicitly defined multiple times in my configuration.
This started happening after updating the nuxt eslint module.
Additional context
No response
Logs