From 48bf18cb23652bdfee1802ab930501b44c796cf7 Mon Sep 17 00:00:00 2001 From: Rowboat Developer Date: Fri, 17 Apr 2026 09:33:08 -0500 Subject: [PATCH] fix: Clean up linting warnings in GitHub Copilot files - Remove unused imports in github-copilot-auth.ts - Remove unused variable in github-copilot-device-flow.ts - Add eslint-disable comment for any in test file --- apps/x/packages/core/src/auth/github-copilot-auth.ts | 1 - apps/x/packages/core/src/auth/github-copilot-device-flow.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/apps/x/packages/core/src/auth/github-copilot-auth.ts b/apps/x/packages/core/src/auth/github-copilot-auth.ts index 43465c0c..03d5490f 100644 --- a/apps/x/packages/core/src/auth/github-copilot-auth.ts +++ b/apps/x/packages/core/src/auth/github-copilot-auth.ts @@ -7,7 +7,6 @@ import container from '../di/container.js'; import { IOAuthRepo } from './repo.js'; -import { OAuthTokens } from './types.js'; import { getProviderConfig } from './providers.js'; import * as deviceFlow from './github-copilot-device-flow.js'; import * as oauthClient from './oauth-client.js'; diff --git a/apps/x/packages/core/src/auth/github-copilot-device-flow.ts b/apps/x/packages/core/src/auth/github-copilot-device-flow.ts index 6af1b904..8900249a 100644 --- a/apps/x/packages/core/src/auth/github-copilot-device-flow.ts +++ b/apps/x/packages/core/src/auth/github-copilot-device-flow.ts @@ -74,7 +74,6 @@ export async function pollForToken( ): Promise { console.log('[GitHub Copilot] Polling for token...'); - const startTime = Date.now(); const pollingInterval = DEFAULT_POLLING_INTERVAL; while (Date.now() < expiresAt) {