@@ -32,35 +32,54 @@ dotnet_diagnostic.CA1823.severity = error
32
32
dotnet_diagnostic.CA2007.severity = error
33
33
# CA2016: Forward the CancellationToken parameter to methods that take one
34
34
dotnet_diagnostic.CA2016.severity = error
35
- # All maintainability issues (dead code etc.)
35
+
36
+ # TODO: Enable all maintainability issues (dead code etc.) an enforce
36
37
# See: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/maintainability-warnings
37
38
dotnet_analyzer_diagnostic.category-Maintainability.severity = error
38
39
39
- # Roslynator Warnings to Info
40
+ # TODO: Fix all of these issues and explicitly ignore the intentional ones!
41
+
42
+ # CA2016: Forward the CancellationToken parameter to methods that take one
40
43
dotnet_diagnostic.CA2016.severity = suggestion
44
+ # CS0618: A class member was marked with the Obsolete attribute
45
+ dotnet_diagnostic.CS0618.severity = suggestion
46
+ # CS0649: Uninitialized private or internal field declaration that is never assigned a value
47
+ dotnet_diagnostic.CS0649.severity = suggestion
48
+ # CS1998: This async method lacks 'await' operators and will run synchronously
49
+ dotnet_diagnostic.CS1998.severity = suggestion
50
+ # CS4014: Consider applying the await operator to the result of the call
51
+ dotnet_diagnostic.CS4014.severity = suggestion
52
+
53
+ # RCS1102: Make class static
41
54
dotnet_diagnostic.RCS1102.severity = suggestion
55
+ # RCS1139: Add summary element to documentation comment
42
56
dotnet_diagnostic.RCS1139.severity = suggestion
57
+ # RCS1194: Implement exception constructors
43
58
dotnet_diagnostic.RCS1194.severity = suggestion
59
+ # RCS1210: Return completed task instead of returning null
44
60
dotnet_diagnostic.RCS1210.severity = suggestion
61
+ # RCS1075: Avoid empty catch clause that catches System.Exception
45
62
dotnet_diagnostic.RCS1075.severity = suggestion
46
63
47
-
48
- # TODO: Fix all of these issues and explicitly ignore the intentional ones.
64
+ # VSTHRD002: Avoid problematic synchronous waits
49
65
dotnet_diagnostic.VSTHRD002.severity = suggestion
66
+ # VSTHRD003: Avoid awaiting foreign Tasks
50
67
dotnet_diagnostic.VSTHRD003.severity = suggestion
68
+ # VSTHRD105: Avoid method overloads that assume TaskScheduler.Current
51
69
dotnet_diagnostic.VSTHRD105.severity = suggestion
70
+ # VSTHRD100: Avoid async void methods
52
71
dotnet_diagnostic.VSTHRD100.severity = suggestion
72
+ # VSTHRD103: Call async methods when in an async method
53
73
dotnet_diagnostic.VSTHRD103.severity = suggestion
74
+ # VSTHRD110: Observe result of async calls
54
75
dotnet_diagnostic.VSTHRD110.severity = suggestion
76
+ # VSTHRD114: Avoid returning a null Task
55
77
dotnet_diagnostic.VSTHRD114.severity = suggestion
56
- dotnet_diagnostic.CS0649.severity = suggestion
57
- dotnet_diagnostic.CS0618.severity = suggestion
58
- dotnet_diagnostic.CS1998.severity = suggestion
59
- dotnet_diagnostic.CS4014.severity = suggestion
60
- dotnet_diagnostic.xUnit2013.severity = suggestion
61
-
62
78
# VSTHRD200: Use "Async" suffix for awaitable methods
63
79
dotnet_diagnostic.VSTHRD200.severity = suggestion
80
+
81
+ # xUnit2013: Do not use equality check to check for collection size
82
+ dotnet_diagnostic.xUnit2013.severity = suggestion
64
83
# IDE0003: this and Me preferences
65
84
dotnet_diagnostic.IDE0003.severity = suggestion
66
85
0 commit comments