fix: resolve 21 lint errors from GDPR/logger/caching commits and fix web lint

- Fix import ordering in auth DTOs, admin module, and test files
- Merge duplicate @modules/shared imports (no-duplicates with prefer-inline)
- Remove unused imports (ForceDeleteUserCommand, Inject)
- Use parameterless catch for unused error bindings
- Switch web lint from `next lint` to `eslint` (flat config compatibility)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-10 18:00:37 +07:00
parent ab478a565a
commit 4c432c7ff9
13 changed files with 13 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
import { IsString, MinLength } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { IsString, MinLength } from 'class-validator';
export class ForceDeleteUserDto {
@ApiProperty({ description: 'Lý do xóa tài khoản' })

View File

@@ -1,5 +1,5 @@
import { IsOptional, IsString, MaxLength } from 'class-validator';
import { ApiPropertyOptional } from '@nestjs/swagger';
import { IsOptional, IsString, MaxLength } from 'class-validator';
export class RequestDeletionDto {
@ApiPropertyOptional({ description: 'Lý do xóa tài khoản', maxLength: 500 })