style: clear the lint and prettier findings so the gates pass

- prettier formatting across routes, components and tests (no behavior change)
- unused imports and ternary-as-statement replaced with explicit branches
- eslint: scripts/**/*.js are CommonJS, allow require() there; prettier ignores pnpm-lock.yaml
This commit is contained in:
Evandro Fonseca Junior committed 2026-09-14 08:51:55 -03:00
1 parent 42466c274b
commit 8ad3eef53d
21 files changed
+365 -333

No files matched your search

+2 -7
View File
@@ -1,9 +1,6 @@
import { logger } from '../../utils/logger';
import { getServiceOrThrow, getServiceOptional } from './service-registry';
import type {
IdeConfigResult,
SupportedIde,
} from '../../server/modules/proxy/proxy-ide-config.service';
import type { IdeConfigResult } from '../../server/modules/proxy/proxy-ide-config.service';
import { TrafficLogsRepo } from '../database/proxyMetricsHandler';
import { CloudAccountRepo } from '../database/cloudHandler';
import { ConfigManager } from '../config/manager';
@@ -257,9 +254,7 @@ export async function getRecentRequests(): Promise<{
}
}
export async function replayRequest(
requestId: string,
): Promise<{
export async function replayRequest(requestId: string): Promise<{
success: boolean;
data?: { original: unknown; newResponse: unknown };
error?: string;