From bc20d30118508d4007ba7e837390e90e1a44a362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TATSUNO=20=E2=80=9CTaz=E2=80=9D=20Yasuhiro?= Date: Thu, 26 Sep 2024 16:32:44 +0900 Subject: [PATCH] chore(test): suppress no-unused-vars 'x' is assigned a value but only used as a type (#3451) --- src/client/types.test.ts | 1 + src/helper/factory/index.test.ts | 1 + src/helper/ssg/ssg.test.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/client/types.test.ts b/src/client/types.test.ts index 7619dabcf..9a6e8f0d5 100644 --- a/src/client/types.test.ts +++ b/src/client/types.test.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ import { expectTypeOf } from 'vitest' import { Hono } from '..' import { upgradeWebSocket } from '../adapter/deno/websocket' diff --git a/src/helper/factory/index.test.ts b/src/helper/factory/index.test.ts index 82105f3cc..514fc1721 100644 --- a/src/helper/factory/index.test.ts +++ b/src/helper/factory/index.test.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ import { expectTypeOf } from 'vitest' import { hc } from '../../client' import type { ClientRequest } from '../../client/types' diff --git a/src/helper/ssg/ssg.test.tsx b/src/helper/ssg/ssg.test.tsx index 81311835c..18e085192 100644 --- a/src/helper/ssg/ssg.test.tsx +++ b/src/helper/ssg/ssg.test.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ /** @jsxImportSource ../../jsx */ import { Hono } from '../../hono' import { poweredBy } from '../../middleware/powered-by'