We started using the new script setup syntactic sugar in Vue3 and this started creating a lot of false positive unnecessary imports issues. Which makes sense, but is still a false positive
Namely, the imports are now automagically available in the without having to explicitly return them in the - which means that within the scope, the import is just imported and never mentioned - so the error.
I think in single file components this should be an easy to fix, just check within the to see if the import is used.
I am also hoping you guys can find a way to also check the the when the is in a separate file?