mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
20 lines
499 B
TypeScript
20 lines
499 B
TypeScript
import type { KnipConfig } from 'knip';
|
|
|
|
const config: KnipConfig = {
|
|
project: ['src/**/*.{ts,tsx}!'],
|
|
ignore: [
|
|
// This file is only used during debugging
|
|
'src/app/store/middleware/debugLoggerMiddleware.ts',
|
|
// Autogenerated types - shouldn't ever touch these
|
|
'src/services/api/schema.ts',
|
|
'src/features/nodes/types/v1/**',
|
|
'src/features/nodes/types/v2/**',
|
|
],
|
|
ignoreBinaries: ['only-allow'],
|
|
paths: {
|
|
'public/*': ['public/*'],
|
|
},
|
|
};
|
|
|
|
export default config;
|