chore(format): add prettier-plugin-organize-imports and sort imports

This commit is contained in:
zetaloop
2026-02-25 15:34:33 +08:00
parent d4a0765cad
commit 2d42473910
88 changed files with 266 additions and 246 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { allow, deny } from "@/lib/policy/assert"
import { useChatStore } from "@/store/chat"
import { useAuthStore } from "@/store/auth"
import { useChatStore } from "@/store/chat"
export function listChatSessions() {
return useChatStore.getState().sessions
+1 -1
View File
@@ -1,5 +1,5 @@
import { allow, deny } from "@/lib/policy/assert"
import { addNotification } from "@/lib/api/notifications"
import { allow, deny } from "@/lib/policy/assert"
import { useAuthStore } from "@/store/auth"
import { useCommentStore } from "@/store/comments"
import { usePostStore } from "@/store/posts"
+1 -1
View File
@@ -1,6 +1,6 @@
import { resolveOwnerShop } from "@/lib/domain/resolve-current-shop"
import { allow, deny } from "@/lib/policy/assert"
import type { Actor } from "@/lib/policy/actor"
import { allow, deny } from "@/lib/policy/assert"
import type { PolicyDecision } from "@/lib/policy/decision"
import type { PlayerService } from "@/lib/types"
import { useAuthStore } from "@/store/auth"
+1 -1
View File
@@ -1,5 +1,5 @@
import { allow, deny } from "@/lib/policy/assert"
import { addNotification } from "@/lib/api/notifications"
import { allow, deny } from "@/lib/policy/assert"
import { useAuthStore } from "@/store/auth"
import { usePostStore } from "@/store/posts"