chore: strengthen backend eslint profile

This commit is contained in:
2026-09-28 16:37:01 +03:00
committed by ksv741
parent 53b2794963
commit a970eaaf7a
179 changed files with 4485 additions and 2716 deletions
@@ -1,3 +1,5 @@
import type { Request } from 'express';
import {
Body,
Controller,
@@ -15,7 +17,7 @@ import {
ApiOkResponse,
ApiTags,
} from '@nestjs/swagger';
import type { Request } from 'express';
import { ApiProblemResponses } from '../../../common/decorators/api-safe-error-response.decorator';
import { AccessPayload, JwtAuthGuard } from '../../auth/auth.api';
import {
@@ -16,5 +16,5 @@ export class TbankConnectionStatusDto {
declare connected: boolean;
@ApiProperty({ type: String, nullable: true, format: 'date-time' })
declare connectedAt: string | null;
declare connectedAt: null | string;
}
@@ -1,4 +1,5 @@
import { Module } from '@nestjs/common';
import { TbankModule } from '../../../integrations/tbank/tbank.module';
import { AuthModule } from '../../auth/auth.module';
import { TbankConnectionController } from './tbank-connection.controller';
@@ -1,8 +1,9 @@
import { BadRequestException, Inject, Injectable } from '@nestjs/common';
import {
supportedTbankAccounts,
TbankClient,
TbankTokenService,
supportedTbankAccounts,
} from '../../../integrations/tbank/tbank.api';
import { PrismaService } from '../../../prisma/prisma.service';