Go Test Files showing violation for main source rules

Hi,

You list removing sonar.tests as a workaround. Does that mean you’ve tired it? That only when the files are explicitly listed as tests are they 1) picked up and 2) scanned with this rule?

Can you provide your analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann