fix(sonar): locale-aware sorts, linear share and redaction patterns, focus only on controls

This commit is contained in:
Maurice
2026-10-22 18:48:51 +02:00
parent e291735c95
commit c8ce36e9af
14 changed files with 290 additions and 94 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ const HASH = /^[0-9a-f]{16}$/i;
function parseHash(hex: string | null | undefined): Hash | null {
if (!hex || !HASH.test(hex)) return null;
return [parseInt(hex.slice(0, 8), 16), parseInt(hex.slice(8), 16)];
return [Number.parseInt(hex.slice(0, 8), 16), Number.parseInt(hex.slice(8), 16)];
}
/** The set bits of a 32-bit number. */