Skip to content

Commit

Permalink
Add C# preferences to EditorConfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDesmond-ca committed Dec 9, 2021
1 parent b0d4324 commit 5112f4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ indent_style = space
indent_size = 2

[*.cs]
csharp_prefer_braces = true
csharp_style_expression_bodied_methods = true
csharp_style_expression_bodied_constructors = true
csharp_style_expression_bodied_operators = true
Expand All @@ -20,5 +21,6 @@ csharp_style_expression_bodied_indexers = true
csharp_style_expression_bodied_accessors = true
csharp_style_expression_bodied_lambdas = true
csharp_style_expression_bodied_local_functions = true
csharp_style_pattern_local_over_anonymous_function = false
csharp_style_namespace_declarations = file_scoped:warning
dotnet_diagnostic.S101.severity = suggestion

0 comments on commit 5112f4f

Please sign in to comment.