From 59493a0cd99f269c9896c49b78e8b3913527c9da Mon Sep 17 00:00:00 2001 From: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> Date: Sun, 18 Aug 2019 12:42:58 +0900 Subject: [PATCH] =?UTF-8?q?uuid()=20=E3=81=A8=20lint=20(#5288)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Import only v4 uuid, uuid() without version is deprecated * Add Missing semicolon --- src/@types/lookup-dns-cache.d.ts | 2 +- .../app/common/views/components/settings/tags.vue | 2 +- .../app/common/views/components/settings/theme.vue | 2 +- .../app/common/views/components/trends.chart.vue | 2 +- src/client/app/common/views/deck/deck.vue | 2 +- .../app/common/views/deck/deck.widgets-column.vue | 2 +- .../pages/page-editor/els/page-editor.el.if.vue | 4 ++-- .../page-editor/els/page-editor.el.section.vue | 4 ++-- .../pages/page-editor/page-editor.script-block.vue | 8 ++++---- .../common/views/pages/page-editor/page-editor.vue | 8 ++++---- .../app/common/views/widgets/posts-monitor.vue | 2 +- .../app/common/views/widgets/server.cpu-memory.vue | 2 +- src/client/app/desktop/views/home/home.vue | 2 +- src/client/app/mios.ts | 2 +- src/client/app/mobile/views/pages/widgets.vue | 2 +- src/remote/activitypub/renderer/index.ts | 4 ++-- src/server/api/endpoints/auth/session/generate.ts | 4 ++-- src/server/api/service/discord.ts | 2 +- src/server/api/service/github.ts | 2 +- src/server/api/service/twitter.ts | 2 +- src/services/drive/add-file.ts | 14 +++++++------- 21 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/@types/lookup-dns-cache.d.ts b/src/@types/lookup-dns-cache.d.ts index 8dea52ea20..bae9df5faf 100644 --- a/src/@types/lookup-dns-cache.d.ts +++ b/src/@types/lookup-dns-cache.d.ts @@ -1,5 +1,5 @@ declare module 'lookup-dns-cache' { - import { LookupOneOptions, LookupAllOptions, LookupOptions, LookupAddress } from 'dns' + import { LookupOneOptions, LookupAllOptions, LookupOptions, LookupAddress } from 'dns'; function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; diff --git a/src/client/app/common/views/components/settings/tags.vue b/src/client/app/common/views/components/settings/tags.vue index 05034c9461..2e17f35e3e 100644 --- a/src/client/app/common/views/components/settings/tags.vue +++ b/src/client/app/common/views/components/settings/tags.vue @@ -16,7 +16,7 @@