Skip to content

Commit d2c9740

Browse files
committed
refactor(napi): prefer oxlint-disable over eslint-disable (#16054)
Nit. Use `// oxlint-disable` comments in our own code, instead of `// eslint-disable`.
1 parent 5877752 commit d2c9740

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

napi/minify/webcontainer-fallback.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!fs.existsSync(bindingEntry)) {
1010
fs.rmSync(baseDir, { recursive: true, force: true });
1111
fs.mkdirSync(baseDir, { recursive: true });
1212
const bindingPkg = `@oxc-minify/binding-wasm32-wasi@${version}`;
13-
// eslint-disable-next-line: no-console
13+
// oxlint-disable-next-line no-console
1414
console.log(`[oxc-minify] Downloading ${bindingPkg} on WebContainer...`);
1515
childProcess.execFileSync('pnpm', ['i', bindingPkg], {
1616
cwd: baseDir,

napi/parser/src-js/webcontainer-fallback.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!fs.existsSync(bindingEntry)) {
1010
fs.rmSync(baseDir, { recursive: true, force: true });
1111
fs.mkdirSync(baseDir, { recursive: true });
1212
const bindingPkg = `@oxc-parser/binding-wasm32-wasi@${version}`;
13-
// eslint-disable-next-line: no-console
13+
// oxlint-disable-next-line no-console
1414
console.log(`[oxc-parser] Downloading ${bindingPkg} on WebContainer...`);
1515
childProcess.execFileSync('pnpm', ['i', bindingPkg], {
1616
cwd: baseDir,

napi/transform/webcontainer-fallback.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!fs.existsSync(bindingEntry)) {
1010
fs.rmSync(baseDir, { recursive: true, force: true });
1111
fs.mkdirSync(baseDir, { recursive: true });
1212
const bindingPkg = `@oxc-transform/binding-wasm32-wasi@${version}`;
13-
// eslint-disable-next-line: no-console
13+
// oxlint-disable-next-line no-console
1414
console.log(`[oxc-transform] Downloading ${bindingPkg} on WebContainer...`);
1515
childProcess.execFileSync('pnpm', ['i', bindingPkg], {
1616
cwd: baseDir,

0 commit comments

Comments
 (0)