fix(lint): enforce consistent-type-imports and fix import ordering across codebase
Auto-fix 862 lint errors: convert value imports used only as types to `import type`, fix import group ordering in seed.ts and du-an-api.ts, remove unused imports in auth controller, and clean up stale eslint-disable comments referencing non-existent rules. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { McpModule as McpCoreModule, McpRegistryService } from '@goodgo/mcp-servers';
|
||||
import { Module, OnModuleInit } from '@nestjs/common';
|
||||
import { McpModule as McpCoreModule, type McpRegistryService } from '@goodgo/mcp-servers';
|
||||
import { Module, type OnModuleInit } from '@nestjs/common';
|
||||
import { AuthModule } from '@modules/auth';
|
||||
import { SearchModule, TypesenseClientService } from '@modules/search';
|
||||
import { LoggerService } from '@modules/shared';
|
||||
import { SearchModule, type TypesenseClientService } from '@modules/search';
|
||||
import { type LoggerService } from '@modules/shared';
|
||||
import { McpTransportController } from './presentation/mcp-transport.controller';
|
||||
|
||||
@Module({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SSEServerTransport, McpRegistryService } from '@goodgo/mcp-servers';
|
||||
import { SSEServerTransport, type McpRegistryService } from '@goodgo/mcp-servers';
|
||||
import {
|
||||
Controller,
|
||||
Get,
|
||||
@@ -12,8 +12,8 @@ import {
|
||||
} from '@nestjs/common';
|
||||
import { ApiBearerAuth, ApiOperation, ApiParam, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { Throttle } from '@nestjs/throttler';
|
||||
import { Request, Response } from 'express';
|
||||
import { JwtAuthGuard, CurrentUser, JwtPayload } from '@modules/auth';
|
||||
import { type Request, type Response } from 'express';
|
||||
import { JwtAuthGuard, CurrentUser, type JwtPayload } from '@modules/auth';
|
||||
|
||||
@ApiTags('mcp')
|
||||
@ApiBearerAuth('JWT')
|
||||
|
||||
Reference in New Issue
Block a user