99# #########################################
1010[* .{cs} ]
1111
12- dotnet_diagnostic.CA1062.severity = none # No need for null-checking in public method.
13-
14- dotnet_diagnostic.MA0004.severity = none # Use Task.ConfigureAwait(false) https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0004.md
15-
16- # #########################################
17- # Custom - Code Analyzers Rules
18- # #########################################
19-
2012dotnet_diagnostic.ASP0000.severity = error # Do not call ' IServiceCollection.BuildServiceProvider' in ' ConfigureServices' - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0000?view =aspnetcore-8.0
2113dotnet_diagnostic.ASP0001.severity = error # Authorization middleware is incorrectly configured - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/ASP0001?view =aspnetcore-8.0
2214dotnet_diagnostic.ASP0003.severity = error # Do not use model binding attributes with route handlers - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0003?view =aspnetcore-8.0
@@ -40,4 +32,12 @@ dotnet_diagnostic.ASP0021.severity = none # The return type of the Bin
4032dotnet_diagnostic.ASP0022.severity = error # Route conflict detected between route handlers (Minimal API) - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0022?view =aspnetcore-8.0
4133dotnet_diagnostic.ASP0023.severity = error # Route conflict detected between route handlers (MVC) - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0023?view =aspnetcore-8.0
4234dotnet_diagnostic.ASP0024.severity = error # Route handler has multiple parameters with the [FromBody] attribute - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0024?view =aspnetcore-8.0
43- dotnet_diagnostic.ASP0025.severity = suggestion # Use AddAuthorizationBuilder to register authorization services and construct policies - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0025?view =aspnetcore-8.0
35+ dotnet_diagnostic.ASP0025.severity = suggestion # Use AddAuthorizationBuilder to register authorization services and construct policies - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0025?view =aspnetcore-8.0
36+
37+ dotnet_diagnostic.CA1062.severity = none # No need for null-checking in public method.
38+
39+ dotnet_diagnostic.MA0004.severity = none # Use Task.ConfigureAwait(false) https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0004.md
40+
41+ # #########################################
42+ # Custom - Code Analyzers Rules
43+ # #########################################
0 commit comments