mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
f0b3485ce9
Knip should never touch the autogenerated types
28 lines
630 B
TypeScript
28 lines
630 B
TypeScript
import type { KnipConfig } from 'knip';
|
|
|
|
const config: KnipConfig = {
|
|
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',
|
|
],
|
|
ignoreBinaries: ['only-allow'],
|
|
rules: {
|
|
files: 'warn',
|
|
dependencies: 'warn',
|
|
unlisted: 'warn',
|
|
binaries: 'warn',
|
|
unresolved: 'warn',
|
|
exports: 'warn',
|
|
types: 'warn',
|
|
nsExports: 'warn',
|
|
nsTypes: 'warn',
|
|
enumMembers: 'warn',
|
|
classMembers: 'warn',
|
|
duplicates: 'warn',
|
|
},
|
|
};
|
|
|
|
export default config;
|