chore(lint): fix lint errors seen when running npm run lint (#19844)

This commit is contained in:
Abhi
2026-02-21 13:33:25 -05:00
committed by GitHub
parent d2d345f41a
commit acb7f577de
40 changed files with 109 additions and 117 deletions
+1 -1
View File
@@ -17,8 +17,8 @@ import {
BeforeToolSelectionHookOutput,
AfterModelHookOutput,
AfterAgentHookOutput,
HookEventName,
} from './types.js';
import { HookEventName } from './types.js';
/**
* Aggregated hook result
@@ -11,16 +11,16 @@ import type {
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { HookEventHandler } from './hookEventHandler.js';
import type { Config } from '../config/config.js';
import type { HookConfig } from './types.js';
import type { HookPlanner } from './hookPlanner.js';
import type { HookRunner } from './hookRunner.js';
import type { HookAggregator } from './hookAggregator.js';
import { HookEventName, HookType } from './types.js';
import type { HookConfig, HookExecutionResult } from './types.js';
import {
NotificationType,
SessionStartSource,
type HookExecutionResult,
HookEventName,
HookType,
} from './types.js';
import type { HookPlanner } from './hookPlanner.js';
import type { HookRunner } from './hookRunner.js';
import type { HookAggregator } from './hookAggregator.js';
// Mock debugLogger
const mockDebugLogger = vi.hoisted(() => ({
+2 -2
View File
@@ -5,8 +5,8 @@
*/
import type { HookRegistry, HookRegistryEntry } from './hookRegistry.js';
import type { HookExecutionPlan } from './types.js';
import { getHookKey, type HookEventName } from './types.js';
import type { HookExecutionPlan, HookEventName } from './types.js';
import { getHookKey } from './types.js';
import { debugLogger } from '../utils/debugLogger.js';
/**
+1 -2
View File
@@ -8,8 +8,7 @@ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import { spawn, type ChildProcessWithoutNullStreams } from 'node:child_process';
import { HookRunner } from './hookRunner.js';
import { HookEventName, HookType, ConfigSource } from './types.js';
import type { HookConfig } from './types.js';
import type { HookInput } from './types.js';
import type { HookConfig, HookInput } from './types.js';
import type { Readable, Writable } from 'node:stream';
import type { Config } from '../config/config.js';