Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _rules/2400.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ severity: 1

- Always put opening and closing curly braces on a new line.

Exception: simple properties/events without a body, such as: `public string Value { get; set; } = "default";`

- Don't indent object/collection initializers and initialize each property on a new line, so use a format like this:

var dto = new ConsumerDto
Expand Down