How can I change the severity of all StyleCop rules using .editorconfig?
Configuring individual rules works:
dotnet_diagnostic.SA1202.severity = error
However, I'm looking for a global change that affects every rule.
How can I change the severity of all StyleCop rules using .editorconfig?
Configuring individual rules works:
dotnet_diagnostic.SA1202.severity = error
However, I'm looking for a global change that affects every rule.
If you want all rules for all analyzers to be set, use this:
If you want just the Stylecop.Analyzers package rules to be set, use this:
Individual rules can then be individually overridden, like this: