Issue Type: Bug
I seems that sonarlint cannot wrap its head around having pascal-case imports but kebab-case html tags and reports imports as unused in the script setup tag of vue while those imports are actively used in the template tag part of the vue sfc
Extension version: 3.1.0
VS Code version: Code - Insiders 1.64.0-insider (753319a08f8e74700b1dba3a29bf0a6af7c2953f, 2022-01-12T05:16:42.486Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
Although you provided convenient minimal snippets, I was not able to reproduce the false positive with SonarQube 9.2.4 unfortunately.
Would it be possible to share a minimal project that includes source files, TSConfig, and scanner settings? This way, it will be easier for me to investigate further by just running an analysis on a project example.