chore: clear pre-existing lint warnings

Annotate the intentional NUL-byte regex in log-sink, drop two stale
eslint-disable directives whose underlying any-uses are gone, and swap
@ts-ignore for @ts-expect-error in routes.test.ts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-25 14:19:28 -07:00
parent 55cef71b8f
commit 633644a665
4 changed files with 3 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import type { LogEntry } from "./log-ring-buffer.js";
// The engine's createLogger() prefixes messages with a null-byte-delimited
// severity marker so we can recover the original intent when routed via
// console.error (which is the transport it uses).
// eslint-disable-next-line no-control-regex -- marker is NUL-delimited by design
const LOG_LEVEL_MARKER_REGEX = /^\u0000fnlvl=(info|warn|error)\u0000\s*/;
/**