Repository navigation
清理 biome organizeImports 的既有 import 排序告警(App.test.tsx / app-shell.tsx) - #46
Merged
todosdev[bot] merged 2 commits intoNov 17, 2026
Merged
Conversation
Sort imported names in App.test.tsx and reorder hook import before lib imports in app-shell.tsx to satisfy biome organizeImports. Checkpoint: aM4hIKybD1AA7WCeagtKN
…3-7e2e-9744-99925386f998
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
App.test.tsx与app-shell.tsx中 biomeassist/source/organizeImports规则报告的 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 errorspnpm lint/pnpm format:check/pnpm typecheck:全部通过pnpm test:全部 45 个测试文件、318 项用例通过pnpm build:构建成功