I am using the sonar (v5.6.6) and c# plugin (v6.3)for code analysis. After sonar analysis execution. My C# Code violated rule S1451 (Rule Name: Track lack of copyright and license headers).
I tried many of the copyright formats, but no luck all fails to compliant with this rule.
How to make the code to compliant with rule S1451?
S1451 is configured with the required/desired header. The easiest thing to do would be to look at the configuration of the rule in the profile that's being applied & copy/paste the configured header into your file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With