Skip to content

Commit 95eac7d

Browse files
committed
chore(lint): remove <explanation> placeholder in biome-ignore comments
1 parent c6a172c commit 95eac7d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/open-next/src/build/helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,11 @@ export function getNextVersion(appPath: string): string {
271271
export function compareSemver(v1: string, v2: string): number {
272272
if (v1 === "latest") return 1;
273273
if (/^[^\d]/.test(v1)) {
274-
// biome-ignore lint/style/noParameterAssign: <explanation>
274+
// biome-ignore lint/style/noParameterAssign:
275275
v1 = v1.substring(1);
276276
}
277277
if (/^[^\d]/.test(v2)) {
278-
// biome-ignore lint/style/noParameterAssign: <explanation>
278+
// biome-ignore lint/style/noParameterAssign:
279279
v2 = v2.substring(1);
280280
}
281281
const [major1, minor1, patch1] = v1.split(".").map(Number);

packages/open-next/src/build/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import os from "node:os";
33
import logger from "../logger.js";
44

55
export function printHeader(header: string) {
6-
// biome-ignore lint/style/noParameterAssign: <explanation>
6+
// biome-ignore lint/style/noParameterAssign:
77
header = `OpenNext — ${header}`;
88
logger.info(
99
[

packages/open-next/src/core/routing/i18n/accept-header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function parse(
2929
lowers.set(lower, { orig: preference, pos: pos++ });
3030
if (options.prefixMatch) {
3131
const parts = lower.split("-");
32-
// biome-ignore lint/style/noCommaOperator: <explanation>
32+
// biome-ignore lint/style/noCommaOperator:
3333
while ((parts.pop(), parts.length > 0)) {
3434
const joined = parts.join("-");
3535
if (!lowers.has(joined)) {

packages/open-next/src/core/routing/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ function cyrb128(str: string) {
425425
h2 = Math.imul(h4 ^ (h2 >>> 22), 2869860233);
426426
h3 = Math.imul(h1 ^ (h3 >>> 17), 951274213);
427427
h4 = Math.imul(h2 ^ (h4 >>> 19), 2716044179);
428-
// biome-ignore lint/style/noCommaOperator: <explanation>
428+
// biome-ignore lint/style/noCommaOperator:
429429
(h1 ^= h2 ^ h3 ^ h4), (h2 ^= h1), (h3 ^= h1), (h4 ^= h1);
430430
return h1 >>> 0;
431431
}

0 commit comments

Comments
 (0)