From 83bbacaa0ed7f53ae34c1e89eaeaedb2ab8b5745 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Wed, 17 Jul 2024 10:23:52 -0400 Subject: [PATCH] chore: fix linting --- src/creators/files/createESLintConfigFile.ts | 2 +- src/generate.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/creators/files/createESLintConfigFile.ts b/src/creators/files/createESLintConfigFile.ts index b55af21..40be88e 100644 --- a/src/creators/files/createESLintConfigFile.ts +++ b/src/creators/files/createESLintConfigFile.ts @@ -1,6 +1,6 @@ export interface ESLintConfigFileOptions { singleRun: boolean; - types: "tsconfig.eslint.json" | "projectService" | true; + types: "projectService" | "tsconfig.eslint.json" | true; } export function createESLintConfigFile({ diff --git a/src/generate.ts b/src/generate.ts index f7d6465..1f8b027 100644 --- a/src/generate.ts +++ b/src/generate.ts @@ -2,9 +2,8 @@ import { execa } from "execa"; import fs from "node:fs/promises"; import path from "node:path"; -import { writeCaseFiles } from "./creators/writeCaseFiles.js"; import { createPackageFile } from "./creators/files/createPackageFile.js"; -import { createESLintConfigFile } from "./creators/files/createESLintConfigFile.js"; +import { writeCaseFiles } from "./creators/writeCaseFiles.js"; import { CaseData, NamedCaseData, caseEntries, casesPath } from "./data.js"; import { createProjectName } from "./utils.js"; import { writeFile } from "./writing/writeFile.js";