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:
@@ -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*/;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user