Quick note, I’m very excited to see .razor files getting analyzed now. But this issue is blocking adoption of the newer analyzer.
- What language is this for? C# / Razor
- Which rule? S1125 and S6608 at least. I haven’t directly observed others, but I suspect its a general issue.
- Why do you believe it’s a false-positive/false-negative? Because Editorconfig is suppressing the rule violations for .cs files.
- Are you using: Nuget: SonarAnalyzer.CSharp 10.8.0.113526
- How can we reproduce the problem? Give us a self-contained snippet of code (formatted text, no screenshots)
- A minimal repro is here GitHub - Siphonophora/Sonar-Razor-Repro all you need is to put code that violates a rule in razor and you will see editorconfig being ignored.