SonarQube Exclude a directory
Try something like this: sonar.exclusions=src/java/test/**
Try something like this: sonar.exclusions=src/java/test/**
You can annotate a class or a method with SuppressWarnings @java.lang.SuppressWarnings(“squid:S00112”) squid:S00112 in this case is a Sonar issue ID. You can find this ID in the Sonar UI. Go to Issues Drilldown. Find an issue you want to suppress warnings on. In the red issue box in your code is there a Rule link … Read more