From ec3bd77ba11cddd37a8789faaa7a1220dc8b1837 Mon Sep 17 00:00:00 2001 From: Renzo Toscani Date: Wed, 6 Dec 2023 12:14:20 -0300 Subject: [PATCH] fix: old lint errors --- src/utils/comments/leancloud-api.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/utils/comments/leancloud-api.ts b/src/utils/comments/leancloud-api.ts index 92e86d98..da2eef94 100644 --- a/src/utils/comments/leancloud-api.ts +++ b/src/utils/comments/leancloud-api.ts @@ -10,11 +10,9 @@ // import request from '@/utils/external-request' // import { AxiosResponse } from 'axios' import { formatTime, filterHTMLContent, RecentComment } from '@/utils' -import pack from '../../../package.json' import { getGravatar, getGravatarUrl } from './gravatar' import { Locales } from '@/models/ThemeConfig.class' -const VERSION = pack.version let AV_INITIALIZED = false /** @@ -24,13 +22,6 @@ let AV_INITIALIZED = false */ declare const AV: any -/** - * js-md5 package is imported through CDN. - * - * For version v0.7.3 - */ -declare const md5: any - type LeanCloudApiOption = { /** Application appId from Leancloud. */ appId: string