On Vue3 you can import a directive using the form
vXxxxx but Sonar marks it as an unused import
Please read this post about reporting false-positives/false-negatives
Specifically, we miss what product/version you’re using.
SonarQube Enterprise Edition Version 9.6.1 (build 59531)
I can’t provide a repro repo as the app is quite large and I do not have the time to set it up
I believe this issue will be solved for SonarQube v9.8.