[PR #5233] [CLOSED] chore: enable organizeImports rule #14117

Closed
opened 2026-04-13 09:19:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5233
Author: @himself65
Created: 10/11/2025
Status: Closed

Base: canaryHead: himself65/2025/10/11/linter


📝 Commits (1)

  • 507698d chore: enable organizeImports rule

📊 Changes

545 files changed (+2127 additions, -2109 deletions)

View changed files

📝 biome.json (+1 -1)
📝 demo/expo-example/src/app/_layout.tsx (+1 -2)
📝 demo/expo-example/src/app/dashboard.tsx (+5 -5)
📝 demo/expo-example/src/app/forget-password.tsx (+4 -4)
📝 demo/expo-example/src/app/index.tsx (+6 -6)
📝 demo/expo-example/src/app/sign-up.tsx (+3 -4)
📝 demo/expo-example/src/components/ui/button.tsx (+1 -1)
📝 demo/expo-example/src/components/ui/card.tsx (+1 -1)
📝 demo/expo-example/src/lib/auth-client.ts (+1 -1)
📝 demo/expo-example/src/lib/auth.ts (+1 -1)
📝 demo/expo-example/src/lib/icons/X.tsx (+1 -0)
📝 demo/nextjs/app/(auth)/forget-password/page.tsx (+3 -3)
📝 demo/nextjs/app/(auth)/reset-password/page.tsx (+4 -4)
📝 demo/nextjs/app/(auth)/sign-in/page.tsx (+3 -3)
📝 demo/nextjs/app/(auth)/two-factor/otp/page.tsx (+3 -3)
📝 demo/nextjs/app/(auth)/two-factor/page.tsx (+3 -3)
📝 demo/nextjs/app/accept-invitation/[id]/invitation-error.tsx (+6 -6)
📝 demo/nextjs/app/accept-invitation/[id]/page.tsx (+3 -3)
📝 demo/nextjs/app/admin/page.tsx (+27 -27)
📝 demo/nextjs/app/api/auth/[...all]/route.ts (+1 -1)

...and 80 more files

📄 Description

Summary by cubic

Enabled Biome’s organizeImports to auto-sort, group, and dedupe imports across the repo. This standardizes import style in Expo, Next.js, and docs code with no runtime changes.

  • Refactors
    • Turned on assist.actions.source.organizeImports in biome.json.
    • Reordered and consolidated imports across files; removed minor duplication and inconsistencies.

🔄 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/5233 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/11/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `himself65/2025/10/11/linter` --- ### 📝 Commits (1) - [`507698d`](https://github.com/better-auth/better-auth/commit/507698dc7de0683d3c8031c75f03f41d8cb691eb) chore: enable organizeImports rule ### 📊 Changes **545 files changed** (+2127 additions, -2109 deletions) <details> <summary>View changed files</summary> 📝 `biome.json` (+1 -1) 📝 `demo/expo-example/src/app/_layout.tsx` (+1 -2) 📝 `demo/expo-example/src/app/dashboard.tsx` (+5 -5) 📝 `demo/expo-example/src/app/forget-password.tsx` (+4 -4) 📝 `demo/expo-example/src/app/index.tsx` (+6 -6) 📝 `demo/expo-example/src/app/sign-up.tsx` (+3 -4) 📝 `demo/expo-example/src/components/ui/button.tsx` (+1 -1) 📝 `demo/expo-example/src/components/ui/card.tsx` (+1 -1) 📝 `demo/expo-example/src/lib/auth-client.ts` (+1 -1) 📝 `demo/expo-example/src/lib/auth.ts` (+1 -1) 📝 `demo/expo-example/src/lib/icons/X.tsx` (+1 -0) 📝 `demo/nextjs/app/(auth)/forget-password/page.tsx` (+3 -3) 📝 `demo/nextjs/app/(auth)/reset-password/page.tsx` (+4 -4) 📝 `demo/nextjs/app/(auth)/sign-in/page.tsx` (+3 -3) 📝 `demo/nextjs/app/(auth)/two-factor/otp/page.tsx` (+3 -3) 📝 `demo/nextjs/app/(auth)/two-factor/page.tsx` (+3 -3) 📝 `demo/nextjs/app/accept-invitation/[id]/invitation-error.tsx` (+6 -6) 📝 `demo/nextjs/app/accept-invitation/[id]/page.tsx` (+3 -3) 📝 `demo/nextjs/app/admin/page.tsx` (+27 -27) 📝 `demo/nextjs/app/api/auth/[...all]/route.ts` (+1 -1) _...and 80 more files_ </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Enabled Biome’s organizeImports to auto-sort, group, and dedupe imports across the repo. This standardizes import style in Expo, Next.js, and docs code with no runtime changes. - **Refactors** - Turned on assist.actions.source.organizeImports in biome.json. - Reordered and consolidated imports across files; removed minor duplication and inconsistencies. <!-- 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-13 09:19:20 -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#14117