9
9
# #########################################
10
10
[* .{cs} ]
11
11
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
-
20
12
dotnet_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
21
13
dotnet_diagnostic.ASP0001.severity = error # Authorization middleware is incorrectly configured - https://learn.microsoft.com/en-us/aspnet/core/diagnostics/ASP0001?view =aspnetcore-8.0
22
14
dotnet_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
40
32
dotnet_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
41
33
dotnet_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
42
34
dotnet_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