mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(ui): clean up unused code 3
variables, types and schemas
This commit is contained in:
19
invokeai/frontend/web/knip.ts
Normal file
19
invokeai/frontend/web/knip.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import type { KnipConfig } from 'knip';
|
||||
|
||||
const config: KnipConfig = {
|
||||
ignore: [
|
||||
// This file is only used during debugging
|
||||
'src/app/store/middleware/debugLoggerMiddleware.ts',
|
||||
// These are old schemas, used in migrations. Needs cleanup.
|
||||
'src/features/nodes/types/v2/**/*',
|
||||
'src/features/nodes/types/v1/**/*',
|
||||
// We don't want to check the public folder - contains images and translations
|
||||
'public/**/*',
|
||||
],
|
||||
compilers: {
|
||||
//
|
||||
svg: () => '',
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
Reference in New Issue
Block a user