Add Prettier and ESLint tooling (Refs #77)

This commit is contained in:
2026-10-09 15:56:13 -04:00
parent 8ed059b8d3
commit 16469e2d43
711 changed files with 99737 additions and 28286 deletions
+5 -2
View File
@@ -4,8 +4,11 @@ import type { ServerMatch } from '../match-history.js';
export function matchInstanceLabel(match: ServerMatch): string {
const identity = serverIdentity(match.server);
const parts = [identity.map !== match.map ? identity.map : '', identity.lobby === null ? '' : `Lobby ${identity.lobby}`,
match.game === 't5' ? 'Black Ops I' : match.game === 't6' ? 'Black Ops II' : match.game];
const parts = [
identity.map !== match.map ? identity.map : '',
identity.lobby === null ? '' : `Lobby ${identity.lobby}`,
match.game === 't5' ? 'Black Ops I' : match.game === 't6' ? 'Black Ops II' : match.game
];
return parts.filter(Boolean).join(' · ') || match.server;
}