From 457cbbd532c6b918e1c899fb7c37059729f18440 Mon Sep 17 00:00:00 2001 From: snomiao Date: Wed, 3 Sep 2025 16:06:29 +0000 Subject: [PATCH] [bugfix] Add i18n setup files to knip ignore list These files are only used by playwright.i18n.config.ts for the collect-i18n script. Knip doesn't recognize them as used since they're only referenced as string paths in the Playwright config. --- knip.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/knip.config.ts b/knip.config.ts index 2b694c2aa..cebc86daa 100644 --- a/knip.config.ts +++ b/knip.config.ts @@ -38,6 +38,9 @@ const config: KnipConfig = { // Test setup files 'browser_tests/globalSetup.ts', 'browser_tests/globalTeardown.ts', + 'browser_tests/globalSetupWithI18n.ts', + 'browser_tests/globalTeardownWithI18n.ts', + 'browser_tests/i18nSetup.ts', 'browser_tests/utils/**', // Scripts 'scripts/**',