javasonarqubesonarqube-plugin

How to exclude built-in rules in a custom plugin?


I'm developing a new plugin for SonarQube supporting a new language, but when I included this plugin there were a couple of built-in rules such as:

For my new language testing doesn't have any sense and I'd like to exclude them. Is there a way to do it?


Solution

  • Unfortunately, those "Common" rules are available by default on all languages directly from SonarQube itself, and cannot currently (as of 6.6, at least) be removed.