From 7e3c7c14d3e7940bc310784e852082504b2760ce Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 29 Jan 2026 19:19:50 -0800 Subject: fix: Resolve all ESLint errors and warnings --- src/lib/Data/hololive.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/Data') diff --git a/src/lib/Data/hololive.ts b/src/lib/Data/hololive.ts index 1617d6d8..7bcb153a 100644 --- a/src/lib/Data/hololive.ts +++ b/src/lib/Data/hololive.ts @@ -62,7 +62,12 @@ function parseToLiveBlocks(html: string): LiveBlock[] { const dateDiv = row.querySelector('.holodule'); if (dateDiv) { date = dateDiv.textContent?.replace(/\s+/g, '') || ''; + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion date = date.match(/\d+\/\d+/)![0].replace('/', '-'); + + // const dateMatch = date.match(/\d+\/\d+/); + // + // date = dateMatch ? dateMatch[0].replace('/', '-') : ''; } const allThumbnail = row.querySelectorAll('a.thumbnail'); -- cgit v1.2.3