Skip to content

Commit a568f80

Browse files
committed
fix(migration): use ts-ignore instead of type declaration for versions import
1 parent a3fe348 commit a568f80

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

packages/cli/src/migration/migrator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ export async function migrateEslintToOxlint(
234234
// Steps 1-2: Only run @oxlint/migrate if there's an eslint config at root
235235
if (eslintConfigFile) {
236236
// Pin @oxlint/migrate to the bundled oxlint version.
237+
// @ts-ignore — resolved at runtime from dist/global/ → dist/versions.js
237238
const { versions } = await import('../versions.js');
238239
const migratePackage = `@oxlint/migrate@${versions.oxlint}`;
239240

packages/cli/src/versions.d.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)