Closed ryanuo closed 1 month ago
You are missing antfu()
factory in withNuxt()
- please always provide a minimal reproduction so for such mistake you could find it by yourself without the need to create issues.
The problem occurred after the introduction. @antfu
@rr210 minimal reproduction please.
reproduction
// @ts-check import antfu from '@antfu/eslint-config' import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt( antfu() )
error info ConfigError: Config "antfu/imports/rules": Key "plugins": Cannot redefine plugin "import".
Environment
Package
None
Reproduction
Describe the bug
eslint.config.mjs config
nuxt.config.ts
Hi @antfu , I would appreciate it if you could comment when you have time. π
Additional context
No response
Logs
No response