You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#4221 fixes both halves: every previously JSON-only setting can now be set via a stylecop.* key in .editorconfig/.globalconfig, and Configuration.md lists all available settings, their keys, defaults, and how to migrate from stylecop.json.
Activity
bjornhellander commentedon May 23, 2023
There is an old pull request that might help: #3374
Otherwise, the classes here do the actual reading of stylecop.json and .editorconfig: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/tree/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/ObjectModel
You will for example find code like this, where you can see what the settings are called in .editorconfig: https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/ObjectModel/DocumentationSettings.cs#L241
AArnott commentedon Oct 11, 2026
#4221 fixes both halves: every previously JSON-only setting can now be set via a
stylecop.*key in.editorconfig/.globalconfig, and Configuration.md lists all available settings, their keys, defaults, and how to migrate fromstylecop.json.