Skip to content

Commit 51a426a

Browse files
fix: removed unnecessary knip.jsonc entries (#1164)
## PR Checklist - [x] Addresses an existing open issue: fixes #1163 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Removes the unnecessary entries.
1 parent b440b4e commit 51a426a

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

knip.jsonc

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
22
"$schema": "https://unpkg.com/knip@latest/schema.json",
3-
"entry": [
4-
"src/index.ts!",
5-
"src/guide/index.ts",
6-
"src/initialize/index.ts",
7-
"src/migrate/index.ts",
8-
"script/*e2e.js"
9-
],
3+
"entry": ["src/index.ts!", "script/*e2e.js"],
104
"ignoreBinaries": ["gh"],
5+
// https://github.com/webpro/knip/issues/417
116
"ignoreDependencies": ["script"],
127
"ignoreExportsUsedInFile": {
138
"interface": true,

script/__snapshots__/migrate-test-e2e.js.snap

+2-7
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,9 @@ exports[`expected file changes > knip.jsonc 1`] = `
202202
@@ ... @@
203203
{
204204
"$schema": "https://unpkg.com/knip@latest/schema.json",
205-
- "entry": [
206-
- "src/index.ts!",
207-
- "src/guide/index.ts",
208-
- "src/initialize/index.ts",
209-
- "src/migrate/index.ts",
210-
- "script/*e2e.js"
211-
- ],
205+
- "entry": ["src/index.ts!", "script/*e2e.js"],
212206
- "ignoreBinaries": ["gh"],
207+
- // https://github.com/webpro/knip/issues/417
213208
- "ignoreDependencies": ["script"],
214209
- "ignoreExportsUsedInFile": {
215210
- "interface": true,

0 commit comments

Comments
 (0)