Skip to content

Commit cb4a2b6

Browse files
author
Kapil Borle
committed
Change formatting rules' severity to warning
1 parent d582474 commit cb4a2b6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Rules/PlaceCloseBrace.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public override string GetName()
140140
/// </summary>
141141
public override RuleSeverity GetSeverity()
142142
{
143-
return RuleSeverity.Information;
143+
return RuleSeverity.Warning;
144144
}
145145

146146
/// <summary>
@@ -149,7 +149,7 @@ public override RuleSeverity GetSeverity()
149149
/// <returns></returns>
150150
public DiagnosticSeverity GetDiagnosticSeverity()
151151
{
152-
return DiagnosticSeverity.Information;
152+
return DiagnosticSeverity.Warning;
153153
}
154154

155155
/// <summary>

Rules/PlaceOpenBrace.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public override string GetName()
133133
/// </summary>
134134
public override RuleSeverity GetSeverity()
135135
{
136-
return RuleSeverity.Information;
136+
return RuleSeverity.Warning;
137137
}
138138

139139
/// <summary>
@@ -142,7 +142,7 @@ public override RuleSeverity GetSeverity()
142142
/// <returns></returns>
143143
public DiagnosticSeverity GetDiagnosticSeverity()
144144
{
145-
return DiagnosticSeverity.Information;
145+
return DiagnosticSeverity.Warning;
146146
}
147147

148148
/// <summary>

Rules/UseConsistentIndentation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public override string GetName()
140140
/// </summary>
141141
public override RuleSeverity GetSeverity()
142142
{
143-
return RuleSeverity.Information;
143+
return RuleSeverity.Warning;
144144
}
145145

146146
/// <summary>
@@ -149,7 +149,7 @@ public override RuleSeverity GetSeverity()
149149
/// <returns></returns>
150150
public DiagnosticSeverity GetDiagnosticSeverity()
151151
{
152-
return DiagnosticSeverity.Information;
152+
return DiagnosticSeverity.Warning;
153153
}
154154

155155
/// <summary>

0 commit comments

Comments
 (0)