Skip to content

Add configurability for SA1413 #3153

@jez9999

Description

@jez9999

For rule SA1413:Use trailing comma in multi-line initializers...

I'd like there to be configuration added to the stylecop.json Readability rules allowing you to specify which of the different types of multi-line initializer the rule should apply to: objectInitializer, enum, array, etc.

Personally I only want the rule to apply to enums and arrays for my code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions