Update eslint dependencies and fix eslint errors

This commit is contained in:
prototypa
2024-08-26 01:03:42 -04:00
parent a268583964
commit 0202552ab1
11 changed files with 516 additions and 1798 deletions

View File

@@ -6,7 +6,8 @@ const load = async function () {
let images: Record<string, () => Promise<unknown>> | undefined = undefined;
try {
images = import.meta.glob('~/assets/images/**/*.{jpeg,jpg,png,tiff,webp,gif,svg,JPEG,JPG,PNG,TIFF,WEBP,GIF,SVG}');
} catch (e) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (error) {
// continue regardless of error
}
return images;