fix(lint): resolve all 49 lint warnings and errors across codebase
- Remove unused imports/variables in seed scripts and test files - Replace console.log with console.warn in seed/utility scripts - Replace `as any` with proper Prisma types (InputJsonValue, PaymentStatus, Plan, UserWhereInput) - Fix import-x/no-named-as-default-member warnings in logger, mapbox, eslint config - Prefix unused callback params with underscore in e2e tests Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { type Valuation as PrismaValuation } from '@prisma/client';
|
||||
import { type Prisma, type Valuation as PrismaValuation } from '@prisma/client';
|
||||
import { type PrismaService } from '@modules/shared/infrastructure/prisma.service';
|
||||
import { ValuationEntity, type ValuationProps } from '../../domain/entities/valuation.entity';
|
||||
import { type IValuationRepository } from '../../domain/repositories/valuation.repository';
|
||||
@@ -38,8 +38,8 @@ export class PrismaValuationRepository implements IValuationRepository {
|
||||
estimatedPrice: entity.estimatedPrice,
|
||||
confidence: entity.confidence,
|
||||
pricePerM2: entity.pricePerM2,
|
||||
comparables: entity.comparables as any,
|
||||
features: entity.features as any,
|
||||
comparables: entity.comparables as Prisma.InputJsonValue,
|
||||
features: entity.features as Prisma.InputJsonValue,
|
||||
modelVersion: entity.modelVersion,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user