-
Notifications
You must be signed in to change notification settings - Fork 51
/
.editorconfig
57 lines (44 loc) · 2.26 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
54
55
56
57
root = true
[*]
charset = utf-8
end_of_line = crlf
indent_style = tab
indent_size = 4
[*.yml]
indent_style = space
indent_size = 2
[*.cs]
file_header_template = Copyright © Clinton Ingram and Contributors\r\nSPDX-License-Identifier: MIT
csharp_style_var_for_built_in_types = false
csharp_style_var_when_type_is_apparent = true
csharp_style_var_elsewhere = true
csharp_prefer_braces = false
csharp_indent_labels = one_less_than_current
csharp_new_line_before_open_brace = types, methods, properties, events, accessors, control_blocks, local_functions
csharp_style_expression_bodied_local_functions = true
csharp_style_expression_bodied_constructors = true
csharp_style_expression_bodied_operators = true
csharp_style_expression_bodied_methods = true
csharp_style_prefer_tuple_swap = true:silent
csharp_style_prefer_range_operator = true:silent
csharp_style_prefer_utf8_string_literals = true:silent
csharp_style_deconstructed_variable_declaration = true:silent
csharp_style_namespace_declarations = file_scoped:warning
dotnet_diagnostic.CA1031.severity = silent
dotnet_diagnostic.CA1308.severity = silent
dotnet_diagnostic.CA1816.severity = silent
dotnet_diagnostic.CA2255.severity = silent
dotnet_diagnostic.CS3016.severity = silent ; https://github.com/dotnet/runtime/issues/40461
dotnet_diagnostic.CS1573.severity = silent ; https://github.com/dotnet/roslyn/issues/40325
dotnet_separate_import_directive_groups = true;
dotnet_style_namespace_match_folder = false
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
dotnet_naming_rule.private_non_field_members_should_be_camel_case.severity = warning
dotnet_naming_rule.private_non_field_members_should_be_camel_case.symbols = private_non_field_members
dotnet_naming_rule.private_non_field_members_should_be_camel_case.style = camel_case
dotnet_naming_symbols.private_non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.private_non_field_members.applicable_accessibilities = private
dotnet_naming_style.camel_case.capitalization = camel_case