@@ -32,35 +32,54 @@ dotnet_diagnostic.CA1823.severity = error
3232dotnet_diagnostic.CA2007.severity = error
3333# CA2016: Forward the CancellationToken parameter to methods that take one
3434dotnet_diagnostic.CA2016.severity = error
35- # All maintainability issues (dead code etc.)
35+
36+ # TODO: Enable all maintainability issues (dead code etc.) an enforce
3637# See: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/maintainability-warnings
3738dotnet_analyzer_diagnostic.category-Maintainability.severity = error
3839
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
4043dotnet_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
4154dotnet_diagnostic.RCS1102.severity = suggestion
55+ # RCS1139: Add summary element to documentation comment
4256dotnet_diagnostic.RCS1139.severity = suggestion
57+ # RCS1194: Implement exception constructors
4358dotnet_diagnostic.RCS1194.severity = suggestion
59+ # RCS1210: Return completed task instead of returning null
4460dotnet_diagnostic.RCS1210.severity = suggestion
61+ # RCS1075: Avoid empty catch clause that catches System.Exception
4562dotnet_diagnostic.RCS1075.severity = suggestion
4663
47-
48- # TODO: Fix all of these issues and explicitly ignore the intentional ones.
64+ # VSTHRD002: Avoid problematic synchronous waits
4965dotnet_diagnostic.VSTHRD002.severity = suggestion
66+ # VSTHRD003: Avoid awaiting foreign Tasks
5067dotnet_diagnostic.VSTHRD003.severity = suggestion
68+ # VSTHRD105: Avoid method overloads that assume TaskScheduler.Current
5169dotnet_diagnostic.VSTHRD105.severity = suggestion
70+ # VSTHRD100: Avoid async void methods
5271dotnet_diagnostic.VSTHRD100.severity = suggestion
72+ # VSTHRD103: Call async methods when in an async method
5373dotnet_diagnostic.VSTHRD103.severity = suggestion
74+ # VSTHRD110: Observe result of async calls
5475dotnet_diagnostic.VSTHRD110.severity = suggestion
76+ # VSTHRD114: Avoid returning a null Task
5577dotnet_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-
6278# VSTHRD200: Use "Async" suffix for awaitable methods
6379dotnet_diagnostic.VSTHRD200.severity = suggestion
80+
81+ # xUnit2013: Do not use equality check to check for collection size
82+ dotnet_diagnostic.xUnit2013.severity = suggestion
6483# IDE0003: this and Me preferences
6584dotnet_diagnostic.IDE0003.severity = suggestion
6685
0 commit comments