Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

(Temporarily) Disable Knip

Blue Mousec304f33b7619
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 9bd3514b2..649d3416f 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -59,6 +59,6 @@ jobs:
- name: Web TypeScript Validation
run: npm run typecheck
working-directory: web
- - name: Web Knip Validation
- run: npm run knip
- working-directory: web
+ # - name: Web Knip Validation
+ # run: npm run knip
+ # working-directory: web
diff --git a/web/knip.jsonc b/web/knip.jsonc
index eb81c5cc0..c2c71dbb2 100644
--- a/web/knip.jsonc
+++ b/web/knip.jsonc
@@ -2,5 +2,10 @@
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreDependencies": ["eslint-plugin-jsx-a11y", "@typescript-eslint/typescript-estree", "@typescript-eslint/parser", "@tailwindcss/forms", "@tailwindcss/typography", "tailwindcss", "@react-router/fs-routes"],
"ignoreBinaries": ["flyctl"],
- "ignore": ["./ecosystem.config.js", "./app/routes.ts", "./react-router.config.ts"]
+ "ignore": ["./ecosystem.config.js", "./app/routes.ts", "./react-router.config.ts"],
+ "entry": ["./app/root.tsx"],
+ "project": ["./app/**/*.{js,ts,tsx,jsx,cjs}"],
+ "paths": {
+ "~/*": ["./app/*"]
+ }
}