Skip to content

Commit

Permalink
Update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jul 18, 2024
1 parent a5178d8 commit 7049bb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ dotnet_style_predefined_type_for_locals_parameters_members = true:error
dotnet_style_predefined_type_for_member_access = true:error

# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = false:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_object_initializer = true:error
dotnet_style_collection_initializer = true:error
dotnet_style_coalesce_expression = false:error
dotnet_style_null_propagation = true:error
dotnet_style_explicit_tuple_names = true:error

# Prefer "var" everywhere
csharp_style_var_for_built_in_types = true:error
Expand Down

0 comments on commit 7049bb0

Please sign in to comment.