Skip to content

Commit de499fc

Browse files
Document silenced warnings
1 parent 94bfcb5 commit de499fc

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

.editorconfig

+29-10
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,54 @@ dotnet_diagnostic.CA1823.severity = error
3232
dotnet_diagnostic.CA2007.severity = error
3333
# CA2016: Forward the CancellationToken parameter to methods that take one
3434
dotnet_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
3738
dotnet_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
4043
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
4154
dotnet_diagnostic.RCS1102.severity = suggestion
55+
# RCS1139: Add summary element to documentation comment
4256
dotnet_diagnostic.RCS1139.severity = suggestion
57+
# RCS1194: Implement exception constructors
4358
dotnet_diagnostic.RCS1194.severity = suggestion
59+
# RCS1210: Return completed task instead of returning null
4460
dotnet_diagnostic.RCS1210.severity = suggestion
61+
# RCS1075: Avoid empty catch clause that catches System.Exception
4562
dotnet_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
4965
dotnet_diagnostic.VSTHRD002.severity = suggestion
66+
# VSTHRD003: Avoid awaiting foreign Tasks
5067
dotnet_diagnostic.VSTHRD003.severity = suggestion
68+
# VSTHRD105: Avoid method overloads that assume TaskScheduler.Current
5169
dotnet_diagnostic.VSTHRD105.severity = suggestion
70+
# VSTHRD100: Avoid async void methods
5271
dotnet_diagnostic.VSTHRD100.severity = suggestion
72+
# VSTHRD103: Call async methods when in an async method
5373
dotnet_diagnostic.VSTHRD103.severity = suggestion
74+
# VSTHRD110: Observe result of async calls
5475
dotnet_diagnostic.VSTHRD110.severity = suggestion
76+
# VSTHRD114: Avoid returning a null Task
5577
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-
6278
# VSTHRD200: Use "Async" suffix for awaitable methods
6379
dotnet_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
6584
dotnet_diagnostic.IDE0003.severity = suggestion
6685

0 commit comments

Comments
 (0)