The documentation includes general guidance on adding coding rules, including which languages support adding custom rules, and general guidance on how to go about it.
If the docs don’t answer your question, please tell us:
What language are you writing rules for?
What have you tried, and what’s your challenge / stumbling block
Please share the relevant code snippet, along with any error messages you’re encountering:
I’m trying to ensure a scan happens on a certain repo, but the scan is not occurring. I think because SonarQube is treating the file as a test file.
I found this link and think this may be the issue at hand.
I’ve included this in the .vbproj file but it hasn’t made any difference.
false
If anyone from SonarQube can reach out then that would be brilliant thanks
You filed this under the ‘Writing rules’ category, which doesn’t seem relevant to your question, so I’ve moved it to the SonarQube category.
That means you missed the topic template that would have prompted you to give the details (possibly) relevant to helping you. So here’s another chance at the topic template: