Connected to SonarCloud or SonarQube (and which version): Community Edition Version 9.0.1
And a thorough description of the problem / question:
Start analysis
Index files
Language of file 'file:///home/user/project/projectname/vendor/xxx/xxx/src/xxx/xxx/XxxBundle/Resources/public/js/AppAdminLogin.js' is detected to be 'JavaScript'
File [uri=file:///home/user/project/projectname/vendor/xxx/xxx/src/xxx/xxx/Xxx/Resources/public/js/AppAdminLogin.js] was excluded by sonar.javascript.exclusions or sonar.typescript.exclusions
'[uri=file:///home/user/project/projectname/vendor/xxx/xxx/src/xxx/xxx/Xxx/Resources/public/js/AppAdminLogin.js]' excluded by org.sonar.plugins.javascript.JavaScriptExclusionsFileFilter
0 files indexed
If you want files in the vendor folder to be analyzed, and as you connected your SonarLint to SonarQube, you will have to override settings on the server side. Don’t forget to update the binding in SonarLint afterwards.
Thanks, it now scan js files under venor dir, but still rules are missing in SonarLint plugin. Please check attached screentshot as well.
Rule javascript:S2589 is enabled on the server, but not available in SonarLint
Rule javascript:S3799 is enabled on the server, but not available in SonarLint
Rule javascript:S1135 is enabled on the server, but not available in SonarLint
Rule javascript:S3796 is enabled on the server, but not available in SonarLint
Rule javascript:S1134 is enabled on the server, but not available in SonarLint
Rule javascript:S4524 is enabled on the server, but not available in SonarLint
Rule javascript:S1940 is enabled on the server, but not available in SonarLint
Rule javascript:S3317 is enabled on the server, but not available in SonarLint
Rule javascript:S2234 is enabled on the server, but not available in SonarLint
Rule javascript:S3686 is enabled on the server, but not available in SonarLint
Rule javascript:S1143 is enabled on the server, but not available in SonarLint
Rule javascript:S1264 is enabled on the server, but not available in SonarLint
Rule javascript:S2598 is enabled on the server, but not available in SonarLint
Rule javascript:S878 is enabled on the server, but not available in SonarLint