[PR #4416] [MERGED] chore: fix lint #30973

Closed
opened 2026-04-17 21:56:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4416
Author: @himself65
Created: 9/4/2025
Status: Merged
Merged: 9/4/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/09/03/fix


📝 Commits (1)

📊 Changes

4 files changed (+2 additions, -13 deletions)

View changed files

📝 packages/better-auth/src/api/index.ts (+0 -1)
📝 packages/better-auth/src/plugins/api-key/routes/list-api-keys.ts (+1 -1)
📝 packages/better-auth/src/plugins/api-key/routes/verify-api-key.ts (+0 -1)
📝 packages/better-auth/src/plugins/open-api/generator.ts (+1 -10)

📄 Description

Summary by cubic

Removed unused imports across the API and OpenAPI generator to fix lint errors. No functional changes; builds are cleaner and slightly smaller.

  • Refactors
    • Remove BetterAuthError import in api/index.ts.
    • Remove APIError import in api-key/list-api-keys.ts.
    • Remove createApiKey import in api-key/verify-api-key.ts.
    • Drop unused Zod types in plugins/open-api/generator.ts (keep z, ZodObject, ZodOptional, ZodType).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4416 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/09/03/fix` --- ### 📝 Commits (1) - [`a5f1e1a`](https://github.com/better-auth/better-auth/commit/a5f1e1ac0a28a76608305b32eb26c0a8b2374c01) chore: fix lint ### 📊 Changes **4 files changed** (+2 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/index.ts` (+0 -1) 📝 `packages/better-auth/src/plugins/api-key/routes/list-api-keys.ts` (+1 -1) 📝 `packages/better-auth/src/plugins/api-key/routes/verify-api-key.ts` (+0 -1) 📝 `packages/better-auth/src/plugins/open-api/generator.ts` (+1 -10) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed unused imports across the API and OpenAPI generator to fix lint errors. No functional changes; builds are cleaner and slightly smaller. - **Refactors** - Remove BetterAuthError import in api/index.ts. - Remove APIError import in api-key/list-api-keys.ts. - Remove createApiKey import in api-key/verify-api-key.ts. - Drop unused Zod types in plugins/open-api/generator.ts (keep z, ZodObject, ZodOptional, ZodType). <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 21:56:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#30973