Skip to content

Commit 1b83898

Browse files
committed
update editorconfig
1 parent 3a1e282 commit 1b83898

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,18 @@ csharp_style_unused_value_expression_statement_preference = discard_variable:sil
122122
# IDE0305: Collection initialization can be simplified (using .ToArray())
123123
dotnet_diagnostic.IDE0305.severity = none
124124

125+
# IDE0290: Use primary constructor
126+
dotnet_diagnostic.IDE0290.severity = none
127+
128+
# IDE0021: Use expression body for constructor
129+
dotnet_diagnostic.IDE0021.severity = none
130+
131+
# CA2020: Starting with .NET 7, the operator '+' will throw when overflowing in a checked context.
132+
dotnet_diagnostic.CA2020.severity = none
133+
134+
# IDE0032: Use auto property (w/ explicit field offset in struct)
135+
dotnet_diagnostic.IDE0032.severity = none
136+
125137
# 'using' directive preferences
126138
csharp_using_directive_placement = outside_namespace:suggestion
127139

0 commit comments

Comments
 (0)