🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@ysknsid25
Copy link
Contributor

@ysknsid25 ysknsid25 commented Dec 1, 2025

  • delete unused vars
  • add eslint-disable-next-line @typescript-eslint/no-explicit-any

before

./hono/cli/src/commands/docs/index.test.ts
  36:32  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

./hono/cli/src/commands/request/index.test.ts
  24:20  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  25:30  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

./hono/cli/src/commands/search/index.ts
  152:46  warning  'highlightedTitle' is defined but never used  @typescript-eslint/no-unused-vars

./hono/cli/src/commands/serve/index.test.ts
   32:7   warning  'mockEsbuild' is defined but never used              @typescript-eslint/no-unused-vars
   32:20  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
   33:20  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
   34:18  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
   35:7   warning  'mockShowRoutes' is assigned a value but never used  @typescript-eslint/no-unused-vars
   35:23  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
   36:30  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
   46:44  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
   46:60  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
  179:24  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any
  179:35  warning  Unexpected any. Specify a different type             @typescript-eslint/no-explicit-any

./hono/cli/src/commands/serve/index.ts
  65:44  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  77:20  warning  'error' is defined but never used         @typescript-eslint/no-unused-vars

./hono/cli/src/utils/build.test.ts
  17:27  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  18:20  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  22:27  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  24:30  warning  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

after

no warning.

Signed-off-by: ysknsid25 <kengo071225@gmail.com>
Signed-off-by: ysknsid25 <kengo071225@gmail.com>
@ysknsid25
Copy link
Contributor Author

About @typescript-eslint/no-explicit-any in test code, maybe it's better to ignore it? 🤔

@ysknsid25 ysknsid25 changed the title [WIP] chore: resolve lint warning chore: resolve lint warning Dec 1, 2025
@ysknsid25 ysknsid25 marked this pull request as ready for review December 1, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant