Skip to content

Commit 125244a

Browse files
author
duende-github-bot
committed
Update .editorconfig
1 parent 78b014d commit 125244a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ dotnet_diagnostic.IDE0024.severity = warning # Use expression body for operators
3333
dotnet_diagnostic.IDE0025.severity = warning # Use expression body for properties
3434
dotnet_diagnostic.IDE0026.severity = warning # Use expression body for indexers
3535
dotnet_diagnostic.IDE0027.severity = warning # Use expression body for accessors
36+
dotnet_diagnostic.IDE0046.severity = suggestion # Use conditional expression for return
3637
dotnet_diagnostic.IDE0049.severity = warning # Use language keywords instead of framework type names for type references
3738
dotnet_diagnostic.IDE0055.severity = warning # Formatting rule
3839
dotnet_diagnostic.IDE0066.severity = warning # Use switch expressions
@@ -41,6 +42,7 @@ dotnet_diagnostic.IDE0161.severity = warning # Use file-scoped namespace
4142
dotnet_sort_system_directives_first = true
4243
dotnet_style_predefined_type_for_locals_parameters_members = true
4344
dotnet_style_predefined_type_for_member_access = true
45+
dotnet_style_prefer_collection_expression = when_types_exactly_match
4446
dotnet_style_qualification_for_event = false:warning
4547
dotnet_style_qualification_for_field = false:warning
4648
dotnet_style_qualification_for_method = false:warning

0 commit comments

Comments
 (0)