-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathknip.jsonc
More file actions
44 lines (44 loc) · 1.68 KB
/
knip.jsonc
File metadata and controls
44 lines (44 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"$schema": "https://unpkg.com/knip@5.86.0/schema-jsonc.json",
"ignoreBinaries": [
// These are intentionally invoked through package scripts / commit hooks rather than local package bins.
"cz",
"source-map-explorer"
],
"ignoreFiles": [
// Android bundles these build outputs into the native app; they are generated, not source entrypoints.
"android/app/src/main/assets/public/**",
// Tool-owned config and runtime entry files are resolved by Vite/Electron rather than the app import graph.
"electron/preload.mjs",
"electron/vite-config.js",
"electron/vite.preload.config.js",
"forge.config.js",
"src/sw.ts"
],
"ignoreDependencies": [
// These packages are consumed by native Capacitor/Gradle config rather than JS imports.
"@capacitor/status-bar",
"@capawesome/capacitor-android-edge-to-edge-support",
// These packages are used by build/config/html entrypoints Knip does not fully trace in this repo.
"@electron-forge/maker-dmg",
"@electron-forge/maker-squirrel",
"@electron-forge/maker-zip",
"@reforged/maker-appimage",
"assert",
"babel-plugin-react-compiler",
"buffer",
"crypto-browserify",
"cz-conventional-changelog",
"react-grab",
"stream-browserify",
// The PWA service worker entry is injected by vite-plugin-pwa, which Knip does not trace here.
"workbox-core",
"workbox-precaching"
],
"ignoreIssues": {
// This import is intentionally satisfied transitively through bitsocial-react-hooks.
"electron/start-plebbit-rpc.js": ["unlisted"],
// Knip falsely infers v8 coverage for Vitest config even though this repo uses Istanbul.
"vitest.config.ts": ["unlisted"]
}
}