Skip to content

Commit 77fbac0

Browse files
bartlomiejuclaude
andcommitted
fix: move lint-ignore to directly above the line with as any
The ignore directive only applies to the immediately following line. After formatting, `items.push(` was on its own line, so the directive covered that instead of the `as any` cast. Move the comment inside the push() call, directly above the line that needs it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dc27e6d commit 77fbac0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/fresh/src/runtime/server/preact_hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ options[OptionsType.DIFF] = (vnode) => {
292292
const flags = (spanCtx.traceFlags & 1) ? "01" : "00";
293293
const traceparent =
294294
`00-${spanCtx.traceId}-${spanCtx.spanId}-${flags}`;
295-
// deno-lint-ignore no-explicit-any
296295
items.push(
296+
// deno-lint-ignore no-explicit-any
297297
h("meta", { name: "traceparent", content: traceparent }) as any,
298298
);
299299
}

0 commit comments

Comments
 (0)