Skip to content

Commit aac28c4

Browse files
committed
Remove default binaries values in plugins
1 parent e9e6e91 commit aac28c4

File tree

7 files changed

+0
-7
lines changed

7 files changed

+0
-7
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import type { Plugin } from '../../types/config.js';
55
const title = 'glob';
66

77
const args = {
8-
binaries: ['glob'],
98
positional: true,
109
alias: { cmd: ['c'] },
1110
fromArgs: ['cmd'],

packages/knip/src/plugins/node-modules-inspector/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependenc
1313
const config: string[] = [...toUnconfig('node-modules-inspector.config')];
1414

1515
const args = {
16-
binaries: ['node-modules-inspector'],
1716
config: true,
1817
};
1918

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependenc
1212
const config: string[] = ['.oxlintrc.json'];
1313

1414
const args = {
15-
binaries: ['oxlint'],
1615
config: true,
1716
};
1817

packages/knip/src/plugins/playwright-test/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const enablers = ['playwright-test'];
1010
const isEnabled: IsPluginEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
1111

1212
const args = {
13-
binaries: ['playwright-test'],
1413
positional: true,
1514
args: (args: string[]) => args.filter(arg => arg !== 'install' && arg !== 'test'),
1615
config: true,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const resolveConfig: ResolveConfig<PlaywrightTestConfig> = async (localCo
5454
};
5555

5656
const args = {
57-
binaries: ['playwright'],
5857
positional: true,
5958
args: (args: string[]) => args.filter(arg => arg !== 'install' && arg !== 'test'),
6059
config: true,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const resolveConfig: ResolveConfig<PrismaConfig> = async (config, options) => {
2121
};
2222

2323
const args = {
24-
binaries: ['prisma'],
2524
config: true,
2625
};
2726

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import type { Plugin } from '../../types/config.js';
55
const title = 'ts-node';
66

77
const args = {
8-
binaries: [title],
98
positional: true,
109
nodeImportArgs: true,
1110
boolean: ['transpileOnly', 'compilerHost', 'ignoreDiagnostics', 'swc', 'preferTsExts'],

0 commit comments

Comments
 (0)