vue/no-side-effects-in-computed-properties
does not work with defineNuxtComponent()
#512
Labels
vue/no-side-effects-in-computed-properties
does not work with defineNuxtComponent()
#512
Environment
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
The text was updated successfully, but these errors were encountered: