-
Notifications
You must be signed in to change notification settings - Fork 5
/
.editorconfig
52 lines (34 loc) · 1.56 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
[*.cs]
# IDE0008: Use explicit type
csharp_style_var_elsewhere = false:silent
# IDE0058: Expression value is never used
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
# IDE0066: Convert switch statement to expression
csharp_style_prefer_switch_expression = true:silent
# IDE0063: Use simple 'using' statement
csharp_prefer_simple_using_statement = 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
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = silent
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = silent
# CA1822: Mark members as static
dotnet_diagnostic.CA1822.severity = none
# CA1710: Identifiers should have correct suffix
dotnet_diagnostic.CA1710.severity = none
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = silent
# CA2227: Collection properties should be read only
dotnet_diagnostic.CA2227.severity = silent
dotnet_naming_symbols.local.capitalisation = camel_case
dotnet_naming_symbols.property.capitalisation = pascal_case
# CA1052: Static holder types should be Static or NotInheritable
dotnet_diagnostic.CA1052.severity = silent
# CA1305: Specify IFormatProvider
dotnet_diagnostic.CA1305.severity = silent
# CA1307: Specify StringComparison
dotnet_diagnostic.CA1307.severity = silent
dotnet_style_prefer_inferred_anonymous_type_member_names = false:suggestion