Skip to content

Commit

Permalink
chore: fix lint:knip
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jul 17, 2024
1 parent 83bbaca commit 40fa76f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 7 additions & 3 deletions knip.json
Original file line number Diff line number Diff line change
@@ -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/**"]
}
2 changes: 0 additions & 2 deletions src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 40fa76f

Please sign in to comment.