Can I add custom rules for Apex in sonarqube

Hello Team,

I went through the documentation for adding new rules --> https://docs.sonarqube.org/latest/extend/adding-coding-rules/, I don’t see support for adding rules for Apex language(salesforce).
Is there are future release happening for that? how do I add custom rules for Apex Language?

Thanks,
Abhishek

Hello,

It’s not possible to add custom rules for Apex language. We have in mind to add some rules for Apex and they are listed here: https://jira.sonarsource.com/browse/MMF-1850. I have no visibility when they will come.

Can you give some details about the rules you would like to implement yourself as custom rules?

Alex