File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff 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())
123123dotnet_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
126138csharp_using_directive_placement = outside_namespace:suggestion
127139
You can’t perform that action at this time.
0 commit comments