fix(lint): resolve all 49 lint warnings and errors across codebase
- Remove unused imports/variables in seed scripts and test files - Replace console.log with console.warn in seed/utility scripts - Replace `as any` with proper Prisma types (InputJsonValue, PaymentStatus, Plan, UserWhereInput) - Fix import-x/no-named-as-default-member warnings in logger, mapbox, eslint config - Prefix unused callback params with underscore in e2e tests Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -4,7 +4,7 @@ test.describe('OAuth Callback Pages', () => {
|
||||
test.describe('Google callback', () => {
|
||||
test('shows loading state while processing', async ({ page }) => {
|
||||
// Intercept token exchange to keep it pending
|
||||
await page.route('**/auth/google/callback**', (route) =>
|
||||
await page.route('**/auth/google/callback**', (_route) =>
|
||||
new Promise(() => {
|
||||
// Never resolve — keeps loading state visible
|
||||
}),
|
||||
@@ -31,7 +31,7 @@ test.describe('OAuth Callback Pages', () => {
|
||||
|
||||
test.describe('Zalo callback', () => {
|
||||
test('shows loading state while processing', async ({ page }) => {
|
||||
await page.route('**/auth/zalo/callback**', (route) =>
|
||||
await page.route('**/auth/zalo/callback**', (_route) =>
|
||||
new Promise(() => {
|
||||
// Never resolve
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user