2024-02-27 06:07:40 +00:00
|
|
|
import type { KnipConfig } from 'knip';
|
|
|
|
|
|
|
|
const config: KnipConfig = {
|
|
|
|
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-02-27 06:07:40 +00:00
|
|
|
],
|
2024-02-27 06:46:13 +00:00
|
|
|
ignoreBinaries: ['only-allow'],
|
2024-02-27 07:25:50 +00:00
|
|
|
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',
|
|
|
|
},
|
2024-02-27 06:07:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|