Skip to content

Commit

Permalink
Permit var and explicit types
Browse files Browse the repository at this point in the history
There are use cases for both. Leave it to the author rather than enforcing either way.
  • Loading branch information
drewnoakes committed Jan 22, 2024
1 parent 1aaf7b2 commit eab424e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ csharp_indent_case_contents_when_block = false
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left

# Prefer "var" everywhere
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion

# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
Expand Down

0 comments on commit eab424e

Please sign in to comment.