Enable MA0155, MA0156, and MA0157 re: `async`
This commit is contained in:
parent
da7331632d
commit
b523a8cb80
|
@ -324,6 +324,12 @@ dotnet_diagnostic.MA0110.severity = error
|
|||
dotnet_diagnostic.MA0136.severity = warning
|
||||
# Both if and else branch have identical code
|
||||
dotnet_diagnostic.MA0140.severity = warning
|
||||
# Do not use async void methods
|
||||
dotnet_diagnostic.MA0155.severity = error
|
||||
# Use 'Async' suffix when a method returns IAsyncEnumerable<T>
|
||||
dotnet_diagnostic.MA0156.severity = error
|
||||
# Do not use 'Async' suffix when a method does not return IAsyncEnumerable<T>
|
||||
dotnet_diagnostic.MA0157.severity = error
|
||||
|
||||
## Menees.Analyzers rules
|
||||
|
||||
|
|
Loading…
Reference in New Issue