Skip to content

Commit 49fe237

Browse files
committed
Add boolean flags to args definition in node plugin
1 parent 20e5914 commit 49fe237

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/knip/src/plugins/node/index.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,19 @@ const args = {
3333
positional: true,
3434
nodeImportArgs: true,
3535
resolve: ['test-reporter'],
36-
boolean: ['deprecation', 'experimental-strip-types', 'harmony', 'test-only', 'test', 'warnings', 'watch'],
36+
boolean: [
37+
'deprecation',
38+
'experimental-strip-types',
39+
'experimental-transform-types',
40+
'harmony',
41+
'inspect-brk',
42+
'inspect-wait',
43+
'inspect',
44+
'test-only',
45+
'test',
46+
'warnings',
47+
'watch',
48+
],
3749
args: (args: string[]) => args.filter(arg => !/--test-reporter[= ](spec|tap|dot|junit|lcov)/.test(arg)),
3850
};
3951

0 commit comments

Comments
 (0)