Skip to content

Commit

Permalink
fix: removed unnecessary knip.jsonc entries (#1164)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
JoshuaKGoldberg committed Dec 31, 2023
1 parent b440b4e commit 51a426a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
9 changes: 2 additions & 7 deletions knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
"entry": [
"src/index.ts!",
"src/guide/index.ts",
"src/initialize/index.ts",
"src/migrate/index.ts",
"script/*e2e.js"
],
"entry": ["src/index.ts!", "script/*e2e.js"],
"ignoreBinaries": ["gh"],
// https://github.com/webpro/knip/issues/417
"ignoreDependencies": ["script"],
"ignoreExportsUsedInFile": {
"interface": true,
Expand Down
9 changes: 2 additions & 7 deletions script/__snapshots__/migrate-test-e2e.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,9 @@ exports[`expected file changes > knip.jsonc 1`] = `
@@ ... @@
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
- "entry": [
- "src/index.ts!",
- "src/guide/index.ts",
- "src/initialize/index.ts",
- "src/migrate/index.ts",
- "script/*e2e.js"
- ],
- "entry": ["src/index.ts!", "script/*e2e.js"],
- "ignoreBinaries": ["gh"],
- // https://github.com/webpro/knip/issues/417
- "ignoreDependencies": ["script"],
- "ignoreExportsUsedInFile": {
- "interface": true,
Expand Down

0 comments on commit 51a426a

Please sign in to comment.