From 3747d11af3a2395ee597f132aa55d28963646773 Mon Sep 17 00:00:00 2001 From: leaysgur <6259812+leaysgur@users.noreply.github.com> Date: Tue, 31 Mar 2026 05:41:04 +0000 Subject: [PATCH] fix(cli/lint): Remove `defineConfig` export from `oxlint` (#1234) Historically, it appears to have been added in #710. However, since this code no longer exists, there are no practical use cases for it. Furthermore, its use is not recommended for general users. --- packages/cli/src/lint.ts | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/packages/cli/src/lint.ts b/packages/cli/src/lint.ts index 25f7703d56..79e74ad15d 100644 --- a/packages/cli/src/lint.ts +++ b/packages/cli/src/lint.ts @@ -1,13 +1,4 @@ -export { - type AllowWarnDeny, - type DummyRule, - type DummyRuleMap, - type ExternalPluginEntry, - type ExternalPluginsConfig, - type OxlintConfig, - type OxlintEnv, - type OxlintGlobals, - type OxlintOverride, - type RuleCategories, - defineConfig, -} from 'oxlint'; +// For now, `defineConfig()` is the only non-type exports from `oxlint`, +// but in Vite+, users should use `defineConfig()` from 'vite-plus`. + +export type * from 'oxlint';