2024-02-27 06:07:40 +00:00
|
|
|
import type { KnipConfig } from 'knip';
|
|
|
|
|
|
|
|
const config: KnipConfig = {
|
2024-04-14 12:14:55 +00:00
|
|
|
project: ['src/**/*.{ts,tsx}!'],
|
2024-02-27 06:07:40 +00:00
|
|
|
ignore: [
|
|
|
|
// This file is only used during debugging
|
|
|
|
'src/app/store/middleware/debugLoggerMiddleware.ts',
|
2024-02-27 07:35:30 +00:00
|
|
|
// Autogenerated types - shouldn't ever touch these
|
|
|
|
'src/services/api/schema.ts',
|
2024-03-27 23:51:33 +00:00
|
|
|
'src/features/nodes/types/v1/**',
|
|
|
|
'src/features/nodes/types/v2/**',
|
2024-02-27 06:07:40 +00:00
|
|
|
],
|
2024-02-27 06:46:13 +00:00
|
|
|
ignoreBinaries: ['only-allow'],
|
2024-04-14 12:13:21 +00:00
|
|
|
paths: {
|
|
|
|
'public/*': ['public/*'],
|
|
|
|
},
|
2024-02-27 06:07:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|