Using SonarCloud with a private project and Azure DevOps CI build to run a Sonar analysis.
Getting Duplicate code warning on our classes that are returning stubbed data.
Using the Ignore Issues on Files in scope analysis section to exclude any public class that ends in the word ‘Stub’:
Have triggered a new pipeline run each time I try a new setting
Trying various regex expressions but none have worked for me.
(public class [A-Z])+[A-Za-z]*Stub
As well as wildcard regex, i.e. public class *Stub
Any idea as to how this can be implemented to work?