Skip to content

Commit 825a557

Browse files
committed
chore(knip): ignore @typescript/native-preview
Add @typescript/native-preview to knip's ignoreDependencies list to prevent false positive unused dependency warnings. This package is required for TypeScript native preview features and is not directly imported in source code.
1 parent 1d992c2 commit 825a557

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

knip.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default {
1313
},
1414
ignore: ['**/*.test.ts', '**/*.spec.ts', '**/*.test-d.ts'],
1515
ignoreBinaries: ['only-allow'],
16+
ignoreDependencies: ['@typescript/native-preview'],
1617
rules: {
1718
optionalPeerDependencies: 'off',
1819
},

0 commit comments

Comments
 (0)