-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Vue.js Single File Components #576
Comments
Hi @Daniel1989 , |
Hi @inverno , |
It is great for us too |
@Daniel1989 |
@inverno Great thanks! |
Reopening this. We'll close it when implemented :) |
WIll be better for support ES6 syntax(ts as next feature). A lot of projects used *.vue extension. Thanks |
while this is in progress, I think we can use this guide as workaround, https://vuejs.org/v2/guide/single-file-components.html#What-About-Separation-of-Concerns externalize the js file from the vue file. |
|
@vilchik-elena , any update for the feature availability? |
@pwang2 it's been completed and released in SonarJS 3.1, see the milestone : https://github.com/SonarSource/sonar-javascript/milestone/4?closed=1 |
From the link in the repo description, I only see jsx support not vue. I have sonarjs 3.1.1 installed and even after setup suffixes, still is in my vue file is ingored. Did I miss anything here? Thanks! |
@pwang2 indeed we did not add |
I just tested with latest version v6.5 sonarqube on my local, it works as expected. it seems the LTS version we used with CI was using an old version of SonarJs. Sorry for the confusion and thank you for help. |
@pwang2 no problem, good to know that it works for you |
Is it support VueJS? Why is still have skip Vue files ??
|
@kamontat yes, it is supported. This debug message you are seeing is coming from the new parser, but it's not relevant for the analysis. |
I want to request a feature.
Hi, is there any plan to support .vue file?
The text was updated successfully, but these errors were encountered: