ci: fix eslint issues (#3969)
This commit is contained in:
parent
5d0edfc3b9
commit
60e38f6eb4
2 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ interface ImageIntegration {
|
|||
}
|
||||
|
||||
declare global {
|
||||
// eslint-disable-next-line no-var
|
||||
var astroImage: ImageIntegration;
|
||||
}
|
||||
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue