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

@@ -1,4 +1,4 @@
import { cancel, confirm, isCancel, log } from "@clack/prompts";
import { cancel, confirm, isCancel } from "@clack/prompts";
import pc from "picocolors";
import { DEFAULT_CONFIG } from "../constants";
import type { ProjectBackend } from "../types";

View File

@@ -51,8 +51,7 @@ export async function gatherConfig(
): Promise<ProjectConfig> {
const result = await group<PromptGroupResults>(
{
frontend: ({ results }) =>
getFrontendChoice(flags.frontend, flags.backend),
frontend: () => getFrontendChoice(flags.frontend, flags.backend),
backend: ({ results }) =>
getBackendFrameworkChoice(flags.backend, results.frontend),
runtime: ({ results }) =>

View File

@@ -1,4 +1,4 @@
import { cancel, isCancel, log, select } from "@clack/prompts";
import { cancel, isCancel, select } from "@clack/prompts";
import pc from "picocolors";
import { DEFAULT_CONFIG } from "../constants";
import type { ProjectBackend, ProjectDatabase, ProjectOrm } from "../types";

View File

@@ -1,6 +1,6 @@
import { cancel, isCancel, select } from "@clack/prompts";
import pc from "picocolors";
import type { ProjectPackageManager, ProjectRuntime } from "../types";
import type { ProjectPackageManager } from "../types";
import { getUserPkgManager } from "../utils/get-package-manager";
export async function getPackageManagerChoice(