Create rule SonarQube

Hello,

I have a sonarqube server with Version 7.9.1 (build 27448), and I want to create a rule.

I have been googling and I haven’t found nothing.

Is there any way to do it?

Thanks!!

Welcome :slight_smile:

there’s a documentation to get you going, you’ll need to create a plugin
https://docs.sonarqube.org/display/PLUG/Writing+Custom+Java+Rules+101

Then ask your questions here with category ‘Plugin Development’
https://community.sonarsource.com/c/plugins/

You should check all available rules before, maybe there’s already a rule that fits in !

Gilbert

1 Like