-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.editorconfig
53 lines (44 loc) · 1.91 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
# See the documentation for reference:
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
[*]
indent_style = space
end_of_line = lf
# ReSharper properties
resharper_wrap_object_and_collection_initializer_style = chop_if_long
[*.{proj, csproj, targets}]
indent_size = 4
insert_final_newline = true
[App.config]
indent_size = 4
insert_final_newline = true
[*.cs]
indent_size = 4
insert_final_newline = true
charset = utf-8
dotnet_diagnostic.IDE0007.severity = none
dotnet_diagnostic.IDE0008.severity = none
dotnet_diagnostic.IDE0022.severity = none
dotnet_diagnostic.IDE0046.severity = none
dotnet_diagnostic.IDE0058.severity = none
dotnet_diagnostic.IDE0060.severity = warning
dotnet_diagnostic.IDE0061.severity = none
csharp_style_namespace_declarations = file_scoped
csharp_style_expression_bodied_methods = when_on_single_line
csharp_style_expression_bodied_local_functions = when_on_single_line
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary
dotnet_style_parentheses_in_other_operators = never_if_unnecessary
# Define naming styles
dotnet_naming_style.camel_case_identifier.capitalization = camel_case
# Define naming symbols
dotnet_naming_symbols.private_static_readonly_field.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_field.applicable_accessibilities = private
dotnet_naming_symbols.private_static_readonly_field.required_modifiers = readonly
# Define naming rules, combining styles and symbols
dotnet_naming_rule.private_member_fields_camel_case.symbols = private_static_readonly_field
dotnet_naming_rule.private_member_fields_camel_case.style = camel_case_identifier
dotnet_naming_rule.private_member_fields_camel_case.severity = warning
[*.g.cs]
generated_code = true