From 3b08c35f7295e4e414d5583ea6e9dddb5fc769a7 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 5 Jul 2025 01:02:14 +1000 Subject: [PATCH] chore(ui): update knip config --- invokeai/frontend/web/knip.ts | 6 ------ invokeai/frontend/web/src/app/store/nanostores/util.ts | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/invokeai/frontend/web/knip.ts b/invokeai/frontend/web/knip.ts index 3f741d0f76..ed78c80b3c 100644 --- a/invokeai/frontend/web/knip.ts +++ b/invokeai/frontend/web/knip.ts @@ -3,8 +3,6 @@ import type { KnipConfig } from 'knip'; const config: KnipConfig = { project: ['src/**/*.{ts,tsx}!'], ignore: [ - // TODO(psyche): temporarily ignored all files for test build purposes - 'src/**', // This file is only used during debugging 'src/app/store/middleware/debugLoggerMiddleware.ts', // Autogenerated types - shouldn't ever touch these @@ -14,10 +12,6 @@ const config: KnipConfig = { 'src/features/parameters/types/parameterSchemas.ts', // TODO(psyche): maybe we can clean up these utils after canvas v2 release 'src/features/controlLayers/konva/util.ts', - // TODO(psyche): restore HRF functionality? - 'src/features/hrf/**', - // This feature is (temprarily?) disabled - 'src/features/controlLayers/components/InpaintMask/InpaintMaskAddButtons.tsx', ], ignoreBinaries: ['only-allow'], paths: { diff --git a/invokeai/frontend/web/src/app/store/nanostores/util.ts b/invokeai/frontend/web/src/app/store/nanostores/util.ts index ab333ae85b..a5a75ae8e5 100644 --- a/invokeai/frontend/web/src/app/store/nanostores/util.ts +++ b/invokeai/frontend/web/src/app/store/nanostores/util.ts @@ -11,5 +11,7 @@ export const $false: ReadableAtom = atom(false); /** * A fallback non-writable atom that always returns `true`, used when a nanostores atom is only conditionally available * in a hook or component. + * + * @knipignore */ export const $true: ReadableAtom = atom(true);