Skip to content

清理 biome organizeImports 的既有 import 排序告警(App.test.tsx / app-shell.tsx) - #46

Merged
todosdev[bot] merged 2 commits into
mainfrom
tds/conv-01a1ea1e-ec53-7e2e-9744-99925386f998
Nov 17, 2026
Merged

todosdev[bot] merged 2 commits into
mainfrom
tds/conv-01a1ea1e-ec53-7e2e-9744-99925386f998

Conversation

@todosdev

@todosdev todosdev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • 清理 App.test.tsx 与 app-shell.tsx 中 biome assist/source/organizeImports 规则报告的 import 排序告警。
  • 仅重排已有 import 顺序,不改变任何运行时逻辑与依赖引用。

Changes

  • web/src/App.test.tsx:将 react-router 命名导入中的 type RouteObject 调至 RouterProvider 之前,满足名称字母序。
  • web/src/components/app-shell.tsx:将 @/hooks/use-page-title 调至 @/lib/build-info 与 @/lib/sidebar 之前,满足路径字母序。

Testing

  • pnpm exec biome check web/src/components/app-shell.tsx web/src/App.test.tsx:0 errors
  • pnpm lint / pnpm format:check / pnpm typecheck:全部通过
  • pnpm test:全部 45 个测试文件、318 项用例通过
  • pnpm build:构建成功

mapxn and others added 2 commits November 17, 2026 23:30
Sort imported names in App.test.tsx and reorder hook import before lib
imports in app-shell.tsx to satisfy biome organizeImports.

Checkpoint: aM4hIKybD1AA7WCeagtKN
@todosdev
todosdev Bot merged commit 3943248 into main Nov 17, 2026
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