Environment
- Operating System: Linux
- Node Version: v18.19.1
- Nuxt Version: 3.13.2
- CLI Version: 3.14.0
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Builder: -
- User Config: -
- Runtime Modules: -
- Build Modules: -
Package
@nuxt/eslint
Reproduction
https://stackblitz.com/edit/github-h9xb1n?file=components%2FComponentWithNuxtComponent.vue,components%2FComponentWithComponent.vue,app.vue,package.json
run "npm run lint"
Describe the bug
Using the Options API with the vue wrapper defineComponent gives you an eslint error:
"ESLint: Unexpected side effect in "bar" computed property.(vue/no-side-effects-in-computed-properties)"
Consuming the same component with defineNuxtComponent disables this feature completly
Additional context
No response
Logs
No response