From 95a06b096f10886e10f28829fd6f7bb853034350 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Wed, 4 Feb 2026 09:07:06 +0100 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20ignore=20patterns=20=E2=86=92=20tu?= =?UTF-8?q?ne=20project=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- knip.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/knip.ts b/knip.ts index 598ec305b..3968b3c52 100644 --- a/knip.ts +++ b/knip.ts @@ -25,8 +25,7 @@ const config: KnipConfig = { 'uno-preset-rtl.ts!', 'scripts/**/*.ts', ], - project: ['**/*.{ts,vue,cjs,mjs}'], - ignore: ['test/fixtures/**'], + project: ['**/*.{ts,vue,cjs,mjs}', '!test/fixtures/**'], ignoreDependencies: [ '@iconify-json/*', '@vercel/kv', From e7504e67c4e3d065a4ed897f14a3ee8aff111ac5 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Wed, 4 Feb 2026 09:07:58 +0100 Subject: [PATCH 2/2] chore: add knip --production to ci workflow --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d741c5b61..1f88f1ef4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -191,3 +191,6 @@ jobs: - name: 🧹 Check for unused code run: pnpm knip + + - name: 🧹 Check for unused production code + run: pnpm knip --production