add unused var, import lint rule

This commit is contained in:
Aman Varshney
2025-05-18 23:41:01 +05:30
parent 0532057c3b
commit bd4cf40bb8
27 changed files with 54 additions and 60 deletions

View File

@@ -73,7 +73,7 @@ async function authenticateWithNeon(packageManager: ProjectPackageManager) {
);
log.success("Authenticated with Neon successfully!");
return true;
} catch (error) {
} catch (_error) {
consola.error(pc.red("Failed to authenticate with Neon"));
}
}
@@ -113,7 +113,7 @@ async function createNeonProject(
pc.red("Failed to extract connection information from response"),
);
return null;
} catch (error) {
} catch (_error) {
consola.error(pc.red("Failed to create Neon project"));
}
}
@@ -144,7 +144,7 @@ DATABASE_URL="your_connection_string"`);
import type { ProjectConfig } from "../types";
export async function setupNeonPostgres(config: ProjectConfig): Promise<void> {
const { projectName, packageManager, projectDir } = config;
const { packageManager, projectDir } = config;
const setupSpinner = spinner();
setupSpinner.start("Setting up Neon PostgreSQL");