We are using SonarQube version 4.3.2 with our Java project. We want to exclude all javascript files which are currently being analyzed. We tried excluding by using *.js in exclusion list, but it did not work.
Please help.
SonarQube 4.3.2 Javascript exclude
sonarqube
Best Solution
In your
sonar-project.properties
, you have two ways to ignore files:sonar.exclusions=the/full/path/*.xml
will ignore all.xml
files inpath
.sonar.exclusions=**/*.xml
will ignore all.xml
files in the folder and sub-folders where you are.Here are the different wildcards:
You can find more information on Sonar Documentation