-
Notifications
You must be signed in to change notification settings - Fork 4
/
.editorconfig
68 lines (51 loc) · 2.49 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
[*.cs]
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = silent
# MA0004: Use .ConfigureAwait(false)
dotnet_diagnostic.MA0004.severity = silent
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = silent
# CA1031: Do not catch general exception types
dotnet_diagnostic.CA1031.severity = suggestion
# CA1822: Mark members as static
dotnet_diagnostic.CA1822.severity = suggestion
# CA1848: Use the LoggerMessage delegates
dotnet_diagnostic.CA1848.severity = none
# CA1717: Only FlagsAttribute enums should have plural names
dotnet_diagnostic.CA1717.severity = suggestion
# CA1707: Identifiers should not contain underscores
dotnet_diagnostic.CA1707.severity = silent
# CA2227: Collection properties should be read only
dotnet_diagnostic.CA2227.severity = suggestion
# CA1056: Uri properties should not be strings
dotnet_diagnostic.CA1056.severity = suggestion
# CA1801: Review unused parameters
dotnet_diagnostic.CA1801.severity = suggestion
# CA1819: Properties should not return arrays
dotnet_diagnostic.CA1819.severity = silent
# CA1848: Use the LoggerMessage delegates
dotnet_diagnostic.CA1848.severity = none
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = suggestion
# CA5351: Do Not Use Broken Cryptographic Algorithms
dotnet_diagnostic.CA5351.severity = suggestion
# CA1000: Do not declare static members on generic types
dotnet_diagnostic.CA1000.severity = suggestion
[*.{cs,csx,cake,vb,vbx}]
# Undocumented
csharp_style_namespace_declarations = file_scoped:warning
# Private field underscore naming by default
# https://stackoverflow.com/a/49428349/11001148
dotnet_naming_rule.private_members_with_underscore.symbols = private_fields
dotnet_naming_rule.private_members_with_underscore.style = prefix_underscore
dotnet_naming_rule.private_members_with_underscore.severity = suggestion
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
# "this." and "Me." qualifiers
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#this-and-me
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