All rules
IDE0055Formatting MS default: Suggestion

Fix formatting

Enforce consistent whitespace, indentation, and new-line formatting.

Microsoft docs

Description

Aggregates the C# formatting options (indentation, spacing, new lines). Violations are reported when code does not match the configured formatting conventions.

Why it matters

Consistent formatting reduces diff noise and review friction across a team.

Examples

Avoid
if(ready){ Run(); }
Prefer
if (ready)
{
    Run();
}
Group results
0 yes 0 no
ConsensusNone (disabled)
Severity preference (yes voters)
Suggestion0
Warning0
Error0