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:
@@ -8,7 +8,6 @@
|
||||
* Phone: 0876677771 | Email: hongochai10@icloud.com | Password: Velik@2026
|
||||
*/
|
||||
|
||||
import path from 'node:path';
|
||||
import { PrismaPg } from '@prisma/adapter-pg';
|
||||
import {
|
||||
PrismaClient,
|
||||
@@ -34,11 +33,10 @@ import {
|
||||
AuditTargetType,
|
||||
ProjectDevelopmentStatus,
|
||||
} from '@prisma/client';
|
||||
import pg from 'pg';
|
||||
// bcrypt is installed in apps/api — resolve from there
|
||||
import bcrypt from 'bcrypt';
|
||||
import { seedPlans } from '../scripts/seed-plans';
|
||||
import pg from 'pg';
|
||||
import { importMarketData } from '../scripts/import-market-data';
|
||||
import { seedPlans } from '../scripts/seed-plans';
|
||||
import { seedPOIs } from '../scripts/seed-pois';
|
||||
|
||||
const pool = new pg.Pool({ connectionString: process.env['DATABASE_URL'] });
|
||||
|
||||
Reference in New Issue
Block a user