Skip to content

Commit bf24627

Browse files
committed
Downgrade two IDE analysis errors to suggestions
.NET 8.0 suggests quite a few more of these "fixes" which we ought to do, but not quite yet!
1 parent dca9d2c commit bf24627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.editorconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ dotnet_diagnostic.IDE0026.severity = error
155155
# IDE0027: Use expression body for accessors
156156
dotnet_diagnostic.IDE0027.severity = error
157157
# IDE0028: Use collection initializers
158-
dotnet_diagnostic.IDE0028.severity = error
158+
dotnet_diagnostic.IDE0028.severity = suggestion
159159
# IDE0029: Use coalesce expression (non-nullable types)
160160
dotnet_diagnostic.IDE0029.severity = error
161161
# IDE0030: Use coalesce expression (nullable types)
@@ -219,7 +219,7 @@ dotnet_diagnostic.IDE0082.severity = error
219219
# IDE0083: Use pattern matching (not operator)
220220
dotnet_diagnostic.IDE0083.severity = error
221221
# IDE0090: Simplify new expression
222-
dotnet_diagnostic.IDE0090.severity = error
222+
dotnet_diagnostic.IDE0090.severity = suggestion
223223
# IDE0100: Remove unnecessary equality operator
224224
dotnet_diagnostic.IDE0100.severity = error
225225
# IDE0110: Remove unnecessary discard

0 commit comments

Comments
 (0)