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:
@@ -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' })
|
||||
|
||||
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user