How to disable some problem in sonar performance?

Is it possible to disable the verification of some problems in sonar projects and how to do it? For example, I want to disable โ€œTable characters should not be usedโ€ or โ€œModifier orderโ€.

Thanks for the help.

+4
source share
1 answer

If you want to keep the rule active by excluding certain parts of the source code, you can use the disconnect-plugin functions.

The plugin is deprecated with sonarqube 4.0, as you can now use the built-in functions described in this part of the sonarqube documentation: http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus

If you are using an older version of sonarqube, you will find the plugin here: http://docs.codehaus.org/display/SONAR/Switch+Off+Violations+Plugin

+2
source

Source: https://habr.com/ru/post/1497408/


All Articles