-
Notifications
You must be signed in to change notification settings - Fork 362
CXX Custom Template Rules
guwirth edited this page Mar 10, 2021
·
2 revisions
Rule Templates are provided by plugins as a basis for users to define their own custom rules in SonarQube. To find templates, select the Show Templates Only facet from the the "Template" dropdown:
The cxx plugin allows to create additional rules for each tool repository via templates. This allows missing rules to be added to a repository as custom rules.
This method also allows to create new rules "on the fly" without a SonarQube Server restart. For this purpose, the SonarQube WEB API and the corresponding commands can be used.
Rule Templates and Custom Rules describes the procedure in detail.