chore: 更新 pre-commit 针对 Node 环境的检查和 lint-staged 执行

- 增加 Node 环境检查,确保在提交前 Node 可用
- 更新 lint-staged 执行方式以适应新的环境设置
- 清理 index.tsx 文件中的多余空行
This commit is contained in:
2026-04-03 21:13:29 +08:00
parent 171c54e29b
commit c206eb8132
2 changed files with 21 additions and 2 deletions

View File

@@ -179,7 +179,6 @@ export default function HomePage() {
>
{sidebarContent}
</Drawer>
</Layout>
);
}