From 9aaf8bda52ac4f48e35d0dc8f1b3153f200f20c6 Mon Sep 17 00:00:00 2001 From: rgravitvl Date: Tue, 17 Dec 2024 10:30:45 +0530 Subject: [PATCH] fixed lint issues --- tools/importer/transformers/cardList.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/importer/transformers/cardList.js b/tools/importer/transformers/cardList.js index b311b377..e888086c 100644 --- a/tools/importer/transformers/cardList.js +++ b/tools/importer/transformers/cardList.js @@ -41,6 +41,7 @@ const URLS_TO_BLOCK_MAP = [ const createCardList = (main, document) => { const url = document.querySelector('[property="og:url"]')?.content; if (url) { + // eslint-disable-next-line max-len const blockName = URLS_TO_BLOCK_MAP.find((item) => url.endsWith(item.url) || url.includes(item.url))?.blockName; if (blockName) { const block = [[blockName], ['']];