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);