fix: add entry config for test-recorder in knip

Addresses review feedback:
https://github.com/Comfy-Org/ComfyUI_frontend/pull/10694#discussion_r3007032682
This commit is contained in:
bymyself
2026-03-29 17:42:36 -07:00
parent 6a6769086b
commit 9854b7bbf0
2 changed files with 7 additions and 0 deletions

View File

@@ -116,6 +116,12 @@
"no-console": "allow"
}
},
{
"files": ["tools/test-recorder/**/*.ts"],
"rules": {
"no-console": "allow"
}
},
{
"files": ["browser_tests/**/*.ts"],
"jsPlugins": ["eslint-plugin-playwright"],

View File

@@ -39,6 +39,7 @@ const config: KnipConfig = {
project: ['src/**/*.{astro,vue,ts}', '*.{js,ts,mjs}']
},
'tools/test-recorder': {
entry: ['src/index.ts'],
project: ['src/**/*.ts']
}
},