From 5aadb7791eb5369944d9da209a4ffa247ee9ee88 Mon Sep 17 00:00:00 2001 From: Anton Gunnarsson Date: Mon, 26 Jan 2026 13:36:52 +0000 Subject: [PATCH] Merged in chore/update-knip-config (pull request #3487) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore: Update knip config * Update knip config Approved-by: Joakim Jäderberg --- knip.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/knip.json b/knip.json index 9d72b1ef1..1a527383c 100644 --- a/knip.json +++ b/knip.json @@ -7,7 +7,7 @@ "netlify/netlify-plugin-branch-sync/index.js" ], "project": ["scripts/**/*.{ts,mts,mjs,js}"], - "ignoreDependencies": ["@scandic-hotels/*"] + "ignoreDependencies": ["@scandic-hotels/*", "@material-symbols/svg-400"] }, "apps/scandic-web": { "entry": [ @@ -54,7 +54,10 @@ "project": ["**/*.{ts,tsx}", "!**/*.test.{ts,tsx}", "!**/*.spec.{ts,tsx}"] }, "packages/design-system": { - "entry": [".storybook/content/**/*.{js,jsx,ts,tsx,mdx}"], + "entry": [ + ".storybook/content/**/*.{js,jsx,ts,tsx,mdx}", + "generate/generate.ts" + ], "project": [ "lib/**/*.{ts,tsx}", "generate/**/*.ts", @@ -64,7 +67,9 @@ "@typescript-eslint/eslint-plugin", "eslint-plugin-react-hooks", "eslint-plugin-storybook" - ] + ], + "ignoreFiles": ["lib/tokens/index.ts"], + "ignoreUnresolved": ["generate.ts"] }, "packages/tracking": { "project": ["**/*.{ts,tsx}"]