When updating to nuxt 3.10 release the top level options from eslint module no longer regonizes types imported from the module.
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },
modules: [
'@nuxtjs/eslint-module'
],
eslint: {
/* Can't have auto types here */
}
})
I think that this issue is related to: https://nuxt.com/blog/v3-10#bundler-module-resolution (@danielroe)
Check this reproducible example on stackblitz: https://stackblitz.com/edit/nuxt-starter-d8a7lf?file=nuxt.config.ts