Skip to content

Commit 483b25a

Browse files
committed
Refine knip export checks
1 parent 40c9015 commit 483b25a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

knip.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@ const config: KnipConfig = {
2626
'minimatch',
2727
'tsx',
2828
],
29+
ignoreExportsUsedInFile: {
30+
type: true,
31+
interface: true,
32+
},
2933
rules: {
34+
exports: 'warn',
35+
types: 'warn',
36+
nsExports: 'warn',
37+
nsTypes: 'warn',
3038
duplicates: 'warn',
3139
},
3240
}

0 commit comments

Comments
 (0)