Update eslint dependencies and fix eslint errors
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user