Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

chore: silence structural knip configuration hints

dd283b87db5a52d456a66723822321c6472d1a18

Oliver Jan Krylow <oliver@bugabinga.net> · 2026-10-04 03:50 UTC

unverifiable SSH 1 parent

Drop entry patterns knip already infers from package.json#main, mise
tasks, and the vitest plugin. The remaining hints come from shared
extensions/* globs that cannot match in every extension, so the knip
task passes --no-config-hints; unused files, dependencies, and exports
are still reported.

Changed files (2)

knip.json

ready
@@ -17,21 +17,16 @@
"entry": [
"scripts/*.ts",
"scripts/build/cli.ts",
- "scripts/build/release.ts",
- "scripts/build/settings-entries.ts",
"scripts/build/verify-cli.ts",
"scripts/build/load-probe.ts",
- "scripts/release/cli.ts",
"test/**/*.ts",
"test/**/*.mjs",
- "vitest.config.ts",
"vitest.mutation.config.ts"
],
"project": ["scripts/**/*.ts", "test/**/*.ts"]
},
"extensions/*": {
"entry": [
- "index.ts",
"**/*-worker.ts",
"**/__bench__/**",
"**/__fuzz__/**",

mise.toml

ready
@@ -129,7 +129,9 @@
[tasks.knip]
description = "Report unused files, dependencies, and exports (author-driven; not a gate)"
depends = ["install"]
-run = "npx knip"
+# Shared extensions/* entry globs cannot match in every extension, so the
+# resulting "no matches" hints are structural noise rather than config drift.
+run = "npx knip --no-config-hints"
[tasks.context-startup]
description = "Compare stock, configured, and no-Pi-text headless context (three live requests)"