Hello,
Is there any possibility to detect the use of NOSONAR in C# code comments, besides developing a Roslyn analyzer myself?
Also, do you plan to add such a rule in the future? It would be very useful.
Thanks for your time!
Hello,
Is there any possibility to detect the use of NOSONAR in C# code comments, besides developing a Roslyn analyzer myself?
Also, do you plan to add such a rule in the future? It would be very useful.
Thanks for your time!
Hey there.
For what it’s worth, this is already being tracked here: New Rule Idea: Track uses of "NOSONAR" comments (S1291) · Issue #5065 · SonarSource/sonar-dotnet · GitHub
I found this thread from Sep 2020, so it seems the request to have a NOSONAR rule for C# is almost 4 years now
Is there any chance for a status update, or perhaps even an estimate on when this will become available or should we just check back in in another couple of years?
Hey @Egon_Kidmose
There’s no ETA, I’m sorry.
Hi Colin,
I know this topic is pretty old, but I have a question regarding custom rules for C#.
If I want to add a logging system for my RoslynAnalyzer, since I cannot use the one from sonar-plugin-api, what is the alternative? I know that custom Logging solutions can cause problems with build logs.
Thank you!
Hey @andreeamuscalu
New threads are free, create a new one please