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:
Ho Ngoc Hai
2026-04-16 05:13:56 +07:00
parent 86adcf7295
commit c920934fb6
296 changed files with 692 additions and 659 deletions

View File

@@ -27,12 +27,18 @@ const REQUIRED_WHEN_USED: ReadonlyMap<string, string> = new Map([
['ZALOPAY_APP_ID', 'ZaloPay payments'],
['ZALOPAY_KEY1', 'ZaloPay payments'],
['ZALOPAY_KEY2', 'ZaloPay payments'],
['BANK_TRANSFER_ACCOUNT_NUMBER', 'Bank transfer payments'],
['BANK_TRANSFER_BANK_NAME', 'Bank transfer payments'],
['BANK_TRANSFER_ACCOUNT_HOLDER', 'Bank transfer payments'],
['BANK_TRANSFER_WEBHOOK_SECRET', 'Bank transfer payments'],
['MINIO_ACCESS_KEY', 'Media storage'],
['MINIO_SECRET_KEY', 'Media storage'],
['GOOGLE_CLIENT_ID', 'Google OAuth'],
['GOOGLE_CLIENT_SECRET', 'Google OAuth'],
['ZALO_APP_ID', 'Zalo OAuth'],
['ZALO_APP_SECRET', 'Zalo OAuth'],
['ZALO_OA_ID', 'Zalo OA notifications'],
['ZALO_OA_ACCESS_TOKEN', 'Zalo OA notifications'],
]);
/**