Skip to content

Commit 4ef5ec5

Browse files
feat: add Knip's ignoreExportsUsedInFile (#491)
## PR Checklist - [x] Addresses an existing open issue: fixes #490 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Brings in the option as described.
1 parent 878b563 commit 4ef5ec5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

knip.jsonc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
],
99
"ignoreBinaries": ["dedupe", "gh"],
1010
"ignoreDependencies": ["c8"],
11+
"ignoreExportsUsedInFile": {
12+
"interface": true,
13+
"type": true
14+
},
1115
"project": ["src/**/*.ts!", "script/**/*.js"]
1216
}

0 commit comments

Comments
 (0)