How can we disable specific rule violations? E.g., roslyn

There’s a specific rule violation that I want to permanently ignore. I have the roslyn:CA #, but I can’t find it when searching the list of rules in the quality profile. How can I ensure that this stops popping up as a “major” code smell? I don’t have anything specifically installed as far as an analyzer so I don’t know where this is coming from if not in the ruleset.

I’ve successfully ignored the rules I don’t like by editing my .editorconfig to add dotnet_diagnostic.CA9999.severity = none (replace 9999 with your CA #)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.