From a6fa4e933f62706237cb5b8d777268cfd330a892 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Mon, 16 Dec 2024 13:47:10 +0800 Subject: [PATCH] Ignore `website/` in knip (#16921) --- knip.config.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/knip.config.js b/knip.config.js index 1830f50f2..e25acb899 100644 --- a/knip.config.js +++ b/knip.config.js @@ -19,15 +19,9 @@ export default { "pkg-pr-new", ], }, + // TODO: Enable this after we fix https://github.com/prettier/prettier/issues/11409 website: { - entry: [ - "siteConfig.js", - "core/Footer.js", - "pages/**/*.js", - "static/**/*.js", - ], - ignoreDependencies: ["codemirror", "highlight.js", "@babel/preset-react"], - ignore: ["pages/en/**"], + ignore: ["**/*"], }, "scripts/tools/bundle-test": {}, "scripts/tools/eslint-plugin-prettier-internal-rules": {},