-
-
Notifications
You must be signed in to change notification settings - Fork 416
/
.editorconfig
53 lines (36 loc) · 1.74 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
root = true
[*.{cmd,cs,csproj,md,nuspec,props,ps1,sh,targets,yml}]
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{csproj,nuspec,props,targets,yml}]
indent_size = 2
tab_width = 2
[*.{cs,ps1,sh}]
indent_size = 4
tab_width = 4
[*.cs]
csharp_prefer_simple_using_statement = false
csharp_prefer_static_local_function = true: rror
dotnet_sort_system_directives_first = true:error
csharp_style_implicit_object_creation_when_type_is_apparent = false:error
csharp_style_pattern_matching_over_as_with_null_check = true:error
csharp_style_prefer_range_operator = false
dotnet_style_prefer_simplified_boolean_expressions = true:error
csharp_style_prefer_switch_expression = true:error
dotnet_style_predefined_type_for_locals_parameters_members = true:error
dotnet_style_qualification_for_event = false:error
dotnet_style_qualification_for_field = false:error
dotnet_style_qualification_for_method = false:error
dotnet_style_qualification_for_property = false:error
csharp_style_var_for_built_in_types = true:error
csharp_style_var_when_type_is_apparent = true:error
csharp_style_var_elsewhere = true:error
csharp_style_unused_value_assignment_preference = true:error
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case