dotnet/roslyn

Allow diagnosticsuppressors to be configured in .editorconfig

Open

#49,727 opened on Dec 2, 2020

View on GitHub
 (4 comments) (4 reactions) (0 assignees)C# (20,414 stars) (4,257 forks)batch import
Area-AnalyzersBugFeature - Editor Confighelp wanted

Description

The only way a DiagnosticsSuppressor can be disabled is now using a separate ruleset. Rulesets were replaced with .editorconfig for all but suppressors.

Can the code at AnalyzerManager.IsDiagnosticAnalyzerSuppressed be updated to (also) look at the .editorconfig?

Contributor guide