fixed some lint issues

This commit is contained in:
Boki 2025-06-23 22:58:42 -04:00
parent 566f5dac92
commit 969cbad7ac
14 changed files with 99 additions and 29 deletions

View file

@ -1,7 +1,6 @@
import { asClass, asFunction, asValue, type AwilixContainer } from 'awilix';
import { Browser } from '@stock-bot/browser';
import { ProxyManager } from '@stock-bot/proxy';
import { NamespacedCache } from '@stock-bot/cache';
import type { AppConfig } from '../config/schemas';
import type { ServiceDefinitions } from '../container/types';

View file

@ -7,7 +7,7 @@ import { Hono } from 'hono';
import { cors } from 'hono/cors';
import { getLogger, setLoggerConfig, shutdownLoggers, type Logger } from '@stock-bot/logger';
import { Shutdown } from '@stock-bot/shutdown';
import type { BaseAppConfig as StockBotAppConfig, UnifiedAppConfig } from '@stock-bot/config';
import type { BaseAppConfig, UnifiedAppConfig } from '@stock-bot/config';
import { toUnifiedConfig } from '@stock-bot/config';
import type { IServiceContainer } from '@stock-bot/types';
import type { ServiceContainer } from './awilix-container';
@ -78,7 +78,7 @@ export class ServiceApplication {
private shutdown: Shutdown;
constructor(
config: StockBotAppConfig | UnifiedAppConfig,
config: BaseAppConfig | UnifiedAppConfig,
serviceConfig: ServiceApplicationConfig,
hooks: ServiceLifecycleHooks = {}
) {

View file

@ -8,7 +8,6 @@ import type {
QueueOptions,
QueueStats,
RateLimitRule,
RedisConfig,
} from './types';
import { getRedisConnection } from './utils';