Skip to content

Commit bd87fe8

Browse files
committed
refactor: use @ts-expect-error instead of @ts-ignore for versions import
1 parent a568f80 commit bd87fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/src/migration/migrator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +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
237+
// @ts-expect-error — resolved at runtime from dist/global/ → dist/versions.js
238238
const { versions } = await import('../versions.js');
239239
const migratePackage = `@oxlint/migrate@${versions.oxlint}`;
240240

0 commit comments

Comments
 (0)