From 60e38f6eb4273e29995b3aa83a37ab2433b66418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Seery?= Date: Mon, 18 Jul 2022 19:59:53 -0300 Subject: [PATCH] ci: fix eslint issues (#3969) --- packages/integrations/image/src/types.ts | 1 + packages/markdown/remark/src/remark-shiki.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/integrations/image/src/types.ts b/packages/integrations/image/src/types.ts index e6c315c23..4aafe762d 100644 --- a/packages/integrations/image/src/types.ts +++ b/packages/integrations/image/src/types.ts @@ -11,6 +11,7 @@ interface ImageIntegration { } declare global { + // eslint-disable-next-line no-var var astroImage: ImageIntegration; } diff --git a/packages/markdown/remark/src/remark-shiki.ts b/packages/markdown/remark/src/remark-shiki.ts index fdc00c2f0..eea0fd006 100644 --- a/packages/markdown/remark/src/remark-shiki.ts +++ b/packages/markdown/remark/src/remark-shiki.ts @@ -37,6 +37,7 @@ const remarkShiki = async ( if (langExists) { lang = node.lang; } else { + // eslint-disable-next-line no-console console.warn(`The language "${node.lang}" doesn't exist, falling back to plaintext.`); lang = 'plaintext'; }