Skip to content

Missing Settings for .editorConfig #3650

Closed

Description

@RealDotNetDave

Is there documentation on how to set up these rules in the .editorConfig? I can't find it in the repository.

Activity

  1. bjornhellander commented on May 23, 2023

    @bjornhellander
    Contributor

    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

  2. moved this from In progress to Done in StyleCopAnalyzerson Oct 11, 2026
  3. AArnott commented on Oct 11, 2026

    @AArnott
    Contributor

    #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions