ci: fix eslint issues (#3969)

This commit is contained in:
Juan Martín Seery 2022-07-18 19:59:53 -03:00 committed by GitHub
parent 5d0edfc3b9
commit 60e38f6eb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@ interface ImageIntegration {
}
declare global {
// eslint-disable-next-line no-var
var astroImage: ImageIntegration;
}

View file

@ -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';
}