Harden the content contracts and enforce the slug rule

This commit is contained in:
tleininger committed 2026-09-24 12:08:56 +02:00
1 parent d06af2891a
commit 0f7e968c16
13 files changed
+157 -81

No files matched your search

+6
View File
@@ -54,3 +54,9 @@ dotnet_diagnostic.CA1812.severity = none
# layout and is harmless (Blazor routing is not namespace-based). Renaming would
# break the folder convention for no benefit.
dotnet_diagnostic.CA1724.severity = none
# CA1308 wants ToUpperInvariant over ToLowerInvariant. That advice is for
# normalizing before a comparison, where a few characters do not round-trip. Here
# lowercasing is the goal itself (URL slugs, which must be lowercase), not a step
# before a comparison -- comparisons use StringComparison.OrdinalIgnoreCase instead.
dotnet_diagnostic.CA1308.severity = none