From 774b63205243bf83ad5073f4698afd10b4b5c0ab Mon Sep 17 00:00:00 2001 From: "Alexander S." Date: Wed, 20 Nov 2024 15:53:08 +0100 Subject: [PATCH] test: remove workaround for disabling plugin (#252) --- src/build-from-oxlint-config.spec.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/build-from-oxlint-config.spec.ts b/src/build-from-oxlint-config.spec.ts index 4f25855..dcedd91 100644 --- a/src/build-from-oxlint-config.spec.ts +++ b/src/build-from-oxlint-config.spec.ts @@ -271,15 +271,6 @@ const executeOxlintWithConfiguration = ( '--silent', ]; - // --disabled--plugin can be removed after oxc-project/oxc#6896 - if (config.plugins !== undefined) { - for (const plugin of ['typescript', 'unicorn', 'react']) { - if (!config.plugins!.includes(plugin)) { - cliArguments.push(`--disable-${plugin}-plugin`); - } - } - } - try { oxlintOutput = execSync(`npx oxlint ${cliArguments.join(' ')}`, { encoding: 'utf8',