I discovered that if I "quick fix" the issue in VSCode, it offers to change the severity reporting, and I noticed that it modifies the .editorconfig
file.
E.g.:
dotnet_analyzer_diagnostic.severity = warning
# dotnet_analyzer_diagnostic.category-Style.severity = warning
After changing to warning
the issues now show up in the "problems" tab.