-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
140 lines (85 loc) · 4.25 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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[*.cs]
# CA1052: Static holder types should be Static or NotInheritable
dotnet_diagnostic.CA1052.severity = silent
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = silent
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = silent
# CA1305: Specify IFormatProvider
dotnet_diagnostic.CA1305.severity = silent
# CA1307: Specify StringComparison
dotnet_diagnostic.CA1307.severity = silent
# CA1710: Identifiers should have correct suffix
dotnet_diagnostic.CA1710.severity = none
# CA1822: Mark members as static
dotnet_diagnostic.CA1822.severity = none
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = silent
# CA2227: Collection properties should be read only
dotnet_diagnostic.CA2227.severity = silent
# IDE0008: Use explicit type
csharp_style_var_elsewhere = false:silent
# IDE0049: Simplify Names
dotnet_style_predefined_type_for_member_access = false:warning
# IDE0054: Use compound assignment
dotnet_style_prefer_compound_assignment = false:silent
# IDE0058: Expression value is never used
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
# IDE0063: Use simple 'using' statement
csharp_prefer_simple_using_statement = false:silent
# IDE0066: Convert switch statement to expression
csharp_style_prefer_switch_expression = true:silent
# IDE0090: Use 'new(...)'
csharp_style_implicit_object_creation_when_type_is_apparent = false
# Instance fields are camelCase and start with _
dotnet_naming_rule.instance_fields_should_be_camel_case.severity = suggestion
dotnet_naming_rule.instance_fields_should_be_camel_case.symbols = instance_fields
dotnet_naming_rule.instance_fields_should_be_camel_case.style = instance_field_style
dotnet_naming_symbols.instance_fields.applicable_kinds = field
dotnet_naming_symbols.instance_fields.applicable_accessibilities = private
dotnet_naming_style.instance_field_style.capitalization = camel_case
dotnet_naming_style.instance_field_style.required_prefix = _
# CA1052: Static holder types should be Static or NotInheritable
dotnet_diagnostic.CA1052.severity = silent
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = silent
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = silent
# CA1305: Specify IFormatProvider
dotnet_diagnostic.CA1305.severity = silent
# CA1307: Specify StringComparison
dotnet_diagnostic.CA1307.severity = silent
# CA1710: Identifiers should have correct suffix
dotnet_diagnostic.CA1710.severity = none
# CA1822: Mark members as static
dotnet_diagnostic.CA1822.severity = none
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = silent
# CA2227: Collection properties should be read only
dotnet_diagnostic.CA2227.severity = silent
# IDE0008: Use explicit type
csharp_style_var_elsewhere = false:silent
# IDE0049: Simplify Names
dotnet_style_predefined_type_for_member_access = false:warning
# IDE0054: Use compound assignment
dotnet_style_prefer_compound_assignment = false:silent
# IDE0058: Expression value is never used
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
# IDE0063: Use simple 'using' statement
csharp_prefer_simple_using_statement = false:silent
# IDE0066: Convert switch statement to expression
csharp_style_prefer_switch_expression = true:silent
# IDE0090: Use 'new(...)'
csharp_style_implicit_object_creation_when_type_is_apparent = false
# Instance fields are camelCase and start with _
dotnet_naming_rule.instance_fields_should_be_camel_case.severity = suggestion
dotnet_naming_rule.instance_fields_should_be_camel_case.symbols = instance_fields
dotnet_naming_rule.instance_fields_should_be_camel_case.style = instance_field_style
dotnet_naming_symbols.instance_fields.applicable_kinds = field
dotnet_naming_symbols.instance_fields.applicable_accessibilities = private
dotnet_naming_style.instance_field_style.capitalization = camel_case
dotnet_naming_style.instance_field_style.required_prefix = _
dotnet_naming_symbols.local.capitalisation = camel_case
dotnet_naming_symbols.property.capitalisation = pascal_case
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false