Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,8 @@ dotnet_diagnostic.CA2241.severity = warning
dotnet_diagnostic.CA2242.severity = warning

# Diagnostics: IDE
dotnet_diagnostic.IDE0001.severity = error
dotnet_diagnostic.IDE0001.severity = warning
dotnet_diagnostic.IDE0028.severity = error
dotnet_diagnostic.IDE0090.severity = error
dotnet_diagnostic.IDE0300.severity = error
dotnet_diagnostic.IDE0301.severity = error
dotnet_diagnostic.IDE0305.severity = error
dotnet_diagnostic.IDE0350.severity = error
dotnet_diagnostic.IDE1006.severity = error

# Diagnostics: MSTEST
Expand Down
2 changes: 0 additions & 2 deletions src/GlobalSuppressions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,5 @@

[assembly: SuppressMessage("Usage", "CA2213:Disposable fields should be disposed", Justification = "MudThemeProvider is a child Razor component captured via @ref; the Blazor render tree owns and disposes it, not the parent layout.", Scope = "member", Target = "~F:DockerUpdateGuard.Components.Layout.MainLayout._themeProvider")]

[assembly: SuppressMessage("Minor Code Smell", "S1125:Boolean literals should not be redundant", Justification = "Comparing against false is the binding code style of this repository (see .github/instructions/csharp.instructions.md).")]

[assembly: SuppressMessage("Globalization", "CA1304:Specify CultureInfo", Justification = "EF Core translates string.ToLower() to the SQL lower() function; ToLowerInvariant and the culture overload do not translate on Npgsql, and the advisory identifiers are matched ignoring letter case in the database.", Scope = "member", Target = "~M:DockerUpdateGuard.UI.DashboardVulnerabilityQuery.CreateAdvisoryFindingsQuery(DockerUpdateGuard.Data.DockerUpdateGuardDbContext,System.Collections.Generic.List{System.String})~System.Linq.IQueryable{DockerUpdateGuard.Data.Entities.VulnerabilityFinding}")]
[assembly: SuppressMessage("Globalization", "CA1311:Specify a culture or use an invariant version", Justification = "EF Core translates string.ToLower() to the SQL lower() function; ToLowerInvariant and the culture overload do not translate on Npgsql, and the advisory identifiers are matched ignoring letter case in the database.", Scope = "member", Target = "~M:DockerUpdateGuard.UI.DashboardVulnerabilityQuery.CreateAdvisoryFindingsQuery(DockerUpdateGuard.Data.DockerUpdateGuardDbContext,System.Collections.Generic.List{System.String})~System.Linq.IQueryable{DockerUpdateGuard.Data.Entities.VulnerabilityFinding}")]