Bump eslint 9 -> 10

This commit is contained in:
Rūdolfs Ošiņš
2026-05-13 13:58:07 +02:00
parent 734cbc84b2
commit 3611241bb7
4 changed files with 140 additions and 284 deletions
+1 -1
View File
@@ -828,7 +828,7 @@ function renderUserAvatar(key: string): string {
const sectorIdx = Math.floor(a / ((2 * Math.PI) / petals));
if (!sectorGate(a, petals, sectorMask)) continue;
let inside = false;
let inside: boolean;
if (shapeModel === "rose") inside = shapeRose(a, petals, tol);
else if (shapeModel === "starburst")
inside = shapeStarburst(a, petals, softness);
+1 -1
View File
@@ -223,7 +223,7 @@ export function parseNodeId(
): { prefix: string; pubkey: string } | undefined {
const match = /^(did:key:)?(z[a-zA-Z0-9]+)$/.exec(nid);
if (match) {
let hex: Uint8Array | undefined = undefined;
let hex: Uint8Array;
try {
hex = bs58.decode(match[2].substring(1));
} catch (error) {