Hi, I try to add custom Rule but it didn’t work
I follow sample https://github.com/SonarSource/sonar-custom-rules-examples/blob/master/java-custom-rules/src/main/java/org/sonar/samples/java/MyJavaRulesDefinition.java
What I do
Create an implementation of RulesDefinition
code I got from RulesDefinition interface comments
Then I add an extension to my plugin
Now I suppose I had new rule with id x12
I try to bundle an issue which I will register via sensor with this new custom rule
But it’s didn’t bundle.
Could you provide some sample code how I could register a new custom rule and then create an issue for that rule?
NewAdHocRule I didn’t consider as it has a limited amount of properties
Thanks in advance