🎨 style(vscode): eslint 自动修复格式与排序
Claude-Session: https://claude.ai/code/session_01HTMgwaE3woqM5yvsHiuSAa
This commit is contained in:
1 parent
df35bcfd49
commit
8c22a29ce5
41 files changed
+248
-167
No files matched your search
@@ -15,14 +15,18 @@
|
||||
import { execFile } from 'node:child_process'
|
||||
|
||||
export interface BranchSyncStatus {
|
||||
/** Commits remote `autoBuildBranch` is behind remote `devBranch`. 0 when
|
||||
/**
|
||||
* Commits remote `autoBuildBranch` is behind remote `devBranch`. 0 when
|
||||
* already in sync, or when `unavailable` (the field is still numeric so
|
||||
* callers don't have to special-case it). */
|
||||
* callers don't have to special-case it).
|
||||
*/
|
||||
behind: number
|
||||
devBranch: string
|
||||
autoBuildBranch: string
|
||||
/** True when sync is structurally impossible (same branch, missing remote
|
||||
* ref, fetch failed, not a git repo, …). Disables the toolbar button. */
|
||||
/**
|
||||
* True when sync is structurally impossible (same branch, missing remote
|
||||
* ref, fetch failed, not a git repo, …). Disables the toolbar button.
|
||||
*/
|
||||
unavailable?: boolean
|
||||
/** Human-readable explanation, suitable for the button's tooltip. */
|
||||
reason?: string
|
||||
|
||||
@@ -34,8 +34,10 @@ export interface HookContext {
|
||||
branch: string
|
||||
issueNumber: number
|
||||
mainBranch: string
|
||||
/** User-configured override path. Empty / undefined → use the default
|
||||
* `<workspaceRoot>/.spx/worktree-*.sh` location. */
|
||||
/**
|
||||
* User-configured override path. Empty / undefined → use the default
|
||||
* `<workspaceRoot>/.spx/worktree-*.sh` location.
|
||||
*/
|
||||
customScriptPath?: string
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user