diff --git a/knip.json b/knip.json index 68cc132..b302642 100644 --- a/knip.json +++ b/knip.json @@ -1,7 +1,11 @@ { "$schema": "https://unpkg.com/knip@latest/schema.json", - "entry": ["src/index.ts!"], + "entry": ["./src/*.ts"], + "ignore": [ + "src/creators/files/createESLintConfigFile.ts", + "src/creators/files/createStandardTSConfigFile.ts", + "src/creators/utils.ts" + ], "ignoreExportsUsedInFile": { "interface": true, "type": true }, - "ignoreWorkspaces": ["cases/**"], - "project": ["src/**/*.ts!"] + "ignoreWorkspaces": ["cases/**"] } diff --git a/src/data.ts b/src/data.ts index 3a4a218..158a42e 100644 --- a/src/data.ts +++ b/src/data.ts @@ -26,8 +26,6 @@ export type CaseData = { [K in CaseEntry["label"]]: ({ label: K } & CaseEntry)["values"][number]; }; -export type CaseTypes = CaseData["types"]; - export interface NamedCaseData extends CaseData { name: string; }