Skip to content

Commit 8a9aa0c

Browse files
committed
Add rules for collection expressions
1 parent 132a823 commit 8a9aa0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ csharp_using_directive_placement = outside_namespace:warning
177177
csharp_prefer_static_local_function = true:warning
178178
# Primary constructor preferences
179179
csharp_style_prefer_primary_constructors = false:none
180+
# Collection preferences
181+
dotnet_style_prefer_collection_expression = true:error
182+
resharper_use_collection_expression_highlighting =true:error
180183

181184
##########################################
182185
# Unnecessary Code Rules

0 commit comments

Comments
 (0)