You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought that the vue-parser plugin should be providing the "script-setup-uses-var" functionality that handles this but somehow it doesn't seem to be coming through. Have I missed / misconfigured something?
Simple example page that's offending lint at the moment:
<template lang="pug">
main
h1 Homepage Title #[Fa(v-show='loading', :icon='["fas", "gear"]', spin)]
</template>
<script setup>
constloading='cheese'// <-- lint is convinced this const is unused
</script>
The text was updated successfully, but these errors were encountered:
Hey Team Nuxt, I'm getting the above errors despite this eslint config and the latest version of @nuxtjs/eslint-config (10.0.0).
I thought that the vue-parser plugin should be providing the "script-setup-uses-var" functionality that handles this but somehow it doesn't seem to be coming through. Have I missed / misconfigured something?
Simple example page that's offending lint at the moment:
The text was updated successfully, but these errors were encountered: