Search code examples
javagradlesonarqubesonar-runner

Allow protected variables in Java for SonnarQube


Is there any option to change SonnarQube check style (plugin sonnar-runner for Gradle) to allow using protected variables in Java?

I don't wanna discuss about using protected variables but I have on SonarQube site issues that I have protected variable instead of private.

Is there any option to turn off only this type of notification?


Solution

  • You can customize rules in SonarQube, just read the "Configuring Rules" documentation page.