Skip to content

Commit

Permalink
feat: 禁用 Biome 导入排序
Browse files Browse the repository at this point in the history
  • Loading branch information
FHU-yezi committed Feb 13, 2024
1 parent 94f6f50 commit d8e6b17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions frontend/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"formatter": {
"indentStyle": "space"
},
"organizeImports": {
"enabled": false
},
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ import { Suspense, lazy } from "preact/compat";
import { Toaster } from "react-hot-toast";
import { install } from "resize-observer";
import { SWRConfig } from "swr";
import { registerSW } from "virtual:pwa-register";
import { Route, Switch } from "wouter-preact";
import ErrorFallback from "./components/ErrorFallback";
import PageWrapper from "./components/PageWrapper";
import MainPage from "./pages/MainPage";
import { routes } from "./routes";
import { onError } from "./utils/errorHandler";
import { fetcher } from "./utils/fetcher";
import { registerSW } from "virtual:pwa-register";

import "@sscreator/ui/sscreator-ui.css";
import "@unocss/reset/tailwind.css";
import "@sscreator/ui/sscreator-ui.css";
import "uno.css";

// 处理 Safari 浏览器上的 ResizeObserver 兼容性问题
Expand Down

0 comments on commit d8e6b17

Please sign in to comment.