style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -1,3 +1,5 @@
// Auto-generated stub — replace with real implementation
export {};
export const DangerousBackend: new (...args: unknown[]) => Record<string, unknown> = class {} as never;
export {}
export const DangerousBackend: new (
...args: unknown[]
) => Record<string, unknown> = class {} as never

View File

@@ -1,3 +1,4 @@
// Auto-generated stub — replace with real implementation
export {};
export const runConnectHeadless: (...args: unknown[]) => Promise<void> = () => Promise.resolve();
export {}
export const runConnectHeadless: (...args: unknown[]) => Promise<void> = () =>
Promise.resolve()

View File

@@ -8,6 +8,8 @@ export interface ServerLockInfo {
startedAt: number
}
export const writeServerLock: (info: ServerLockInfo) => Promise<void> = (async () => {});
export const removeServerLock: () => Promise<void> = (async () => {});
export const probeRunningServer: () => Promise<ServerLockInfo | null> = (async () => null);
export const writeServerLock: (info: ServerLockInfo) => Promise<void> =
async () => {}
export const removeServerLock: () => Promise<void> = async () => {}
export const probeRunningServer: () => Promise<ServerLockInfo | null> =
async () => null

View File

@@ -1,3 +1,7 @@
// Auto-generated stub — replace with real implementation
export {};
export const parseConnectUrl: (url: string) => { serverUrl: string; authToken: string; [key: string]: unknown } = () => ({ serverUrl: '', authToken: '' });
export {}
export const parseConnectUrl: (url: string) => {
serverUrl: string
authToken: string
[key: string]: unknown
} = () => ({ serverUrl: '', authToken: '' })

View File

@@ -1,3 +1,6 @@
// Auto-generated stub — replace with real implementation
export {};
export const startServer: (...args: unknown[]) => { port?: number; stop: (closeActiveConnections: boolean) => void } = () => ({ stop() {} });
export {}
export const startServer: (...args: unknown[]) => {
port?: number
stop: (closeActiveConnections: boolean) => void
} = () => ({ stop() {} })

View File

@@ -1,3 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const printBanner: (...args: unknown[]) => void = () => {};
export {}
export const printBanner: (...args: unknown[]) => void = () => {}

View File

@@ -1,3 +1,3 @@
// Auto-generated stub — replace with real implementation
export {};
export const createServerLogger: () => Record<string, unknown> = () => ({});
export {}
export const createServerLogger: () => Record<string, unknown> = () => ({})

View File

@@ -1,3 +1,7 @@
// Auto-generated stub — replace with real implementation
export {};
export const SessionManager: new (...args: unknown[]) => { destroyAll(): Promise<void>; [key: string]: unknown } = class { async destroyAll() {} } as never;
export {}
export const SessionManager: new (
...args: unknown[]
) => { destroyAll(): Promise<void>; [key: string]: unknown } = class {
async destroyAll() {}
} as never