-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
20 lines (17 loc) · 897 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[*.cs]
# IDE0008: Use explicit type
csharp_style_var_elsewhere = true
csharp_style_expression_bodied_methods=when_on_single_line:silent
csharp_style_expression_bodied_constructors=when_on_single_line:silent
csharp_style_expression_bodied_operators=when_on_single_line:silent
csharp_style_expression_bodied_properties=when_on_single_line:silent
csharp_style_expression_bodied_indexers=when_on_single_line:silent
csharp_style_expression_bodied_accessors=when_on_single_line:silent
csharp_style_expression_bodied_lambdas=when_on_single_line:silent
csharp_style_expression_bodied_local_functions=when_on_single_line:silent
csharp_style_var_for_built_in_types=true:silent
csharp_style_var_when_type_is_apparent=true:silent
# IDE0011: Add braces
csharp_prefer_braces = false
# IDE0040: Add accessibility modifiers
dotnet_style_require_accessibility_modifiers = omit_if_default