-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
109 lines (89 loc) · 4.13 KB
/
.editorconfig
File metadata and controls
109 lines (89 loc) · 4.13 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[*.cs]
# IDE0008: Use explicit type
csharp_style_var_when_type_is_apparent=true:warning
# IDE0008: Use explicit type
csharp_style_var_elsewhere=false:warning
# IDE0008: Use explicit type
dotnet_diagnostic.IDE0008.severity=warning
# IDE0005: Using directive is unnecessary.
dotnet_diagnostic.IDE0005.severity=warning
# IDE0040: Add accessibility modifiers
dotnet_style_require_accessibility_modifiers=always
# IDE0090: Use 'new(...)'
csharp_style_implicit_object_creation_when_type_is_apparent=false:suggestion
csharp_preserve_single_line_blocks=true
csharp_using_directive_placement=outside_namespace:warning
csharp_style_unused_value_assignment_preference=discard_variable:error
csharp_prefer_static_local_function=true:warning
csharp_style_prefer_pattern_matching=true:suggestion
csharp_style_var_for_built_in_types=false:warning
dotnet_diagnostic.CA1001.severity=error
# SA1503: Braces should not be omitted
dotnet_diagnostic.SA1503.severity=none
# SA1200: Using directives should be placed correctly
dotnet_diagnostic.SA1200.severity=none
# SA1101: Prefix local calls with this
dotnet_diagnostic.SA1101.severity=none
# SA1600: Elements should be documented
dotnet_diagnostic.SA1600.severity=none
# SA1602: Enumeration elements should be documented
dotnet_diagnostic.SA1602.severity=none
# SA1516: Elements should be separated by blank line
dotnet_diagnostic.SA1516.severity=none
# SA1309: Field names should not begin with underscore
dotnet_diagnostic.SA1309.severity=silent
# SA1633: File should have header
dotnet_diagnostic.SA1633.severity=none
csharp_new_line_before_open_brace=all
csharp_space_between_method_declaration_parameter_list_parentheses=false
csharp_new_line_before_members_in_object_initializers=false
# SA1502: Element should not be on a single line
dotnet_diagnostic.SA1502.severity=silent
csharp_space_around_binary_operators=before_and_after
csharp_prefer_simple_using_statement=true:suggestion
csharp_prefer_braces=when_multiline:warning
csharp_style_namespace_declarations=file_scoped:warning
csharp_style_prefer_method_group_conversion=true:warning
csharp_style_prefer_top_level_statements=true:silent
csharp_style_expression_bodied_methods=false:warning
csharp_style_expression_bodied_constructors=false:silent
csharp_style_expression_bodied_operators=false:silent
csharp_style_expression_bodied_properties=true:silent
csharp_style_expression_bodied_indexers=true:silent
csharp_style_expression_bodied_accessors=true:silent
csharp_style_expression_bodied_lambdas=true:silent
csharp_style_expression_bodied_local_functions=false:silent
csharp_style_throw_expression=true:suggestion
csharp_style_prefer_null_check_over_type_check=true:suggestion
csharp_prefer_simple_default_expression=true:suggestion
csharp_style_inlined_variable_declaration=true:suggestion
# SA1413: Use trailing comma in multi-line initializers
dotnet_diagnostic.SA1413.severity=suggestion
# SA1201: Elements should appear in the correct order
dotnet_diagnostic.SA1201.severity=none
[*.{cs,vb}]
dotnet_style_prefer_auto_properties=true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method=true:warning
dotnet_style_null_propagation=true:warning
dotnet_style_explicit_tuple_names=true:warning
dotnet_style_prefer_inferred_tuple_names=true:warning
dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
dotnet_code_quality_unused_parameters=all:warning
dotnet_style_qualification_for_field=false:warning
dotnet_style_qualification_for_property=false:warning
dotnet_style_qualification_for_method=false:warning
dotnet_style_qualification_for_event=false:warning
dotnet_diagnostic.CA1050.severity=warning
dotnet_diagnostic.CA1061.severity=warning
dotnet_diagnostic.CA1069.severity=warning
dotnet_diagnostic.CA1303.severity=suggestion
dotnet_diagnostic.CA1725.severity=warning
dotnet_diagnostic.CA1724.severity=suggestion
dotnet_diagnostic.CA1716.severity=warning
dotnet_diagnostic.CA1720.severity=warning
# IDE0040: Add accessibility modifiers
dotnet_diagnostic.IDE0040.severity=warning
# SA0001: XML comment analysis disabled
dotnet_diagnostic.SA0001.severity=none
# SA1500: Braces for multi-line statements should not share line
dotnet_diagnostic.SA1500.severity=error