refactor: finish lint cleanup

This commit is contained in:
morluto
2026-07-18 05:49:14 +00:00
parent c6ee0049c4
commit 2bea40571d
515 changed files with 13248 additions and 1635 deletions
@@ -3,7 +3,7 @@ import { open } from "node:fs/promises";
import { classifyArtifactPath } from "../ArtifactGraphConstruction.js";
import type { ArtifactNode } from "../../domain/artifactGraph.js";
export const classifyContainerExtension = (
const classifyContainerExtension = (
path: string,
): ArtifactNode["format"] | undefined => {
const lower = path.toLowerCase();
@@ -31,10 +31,10 @@ export interface PendingIntegrityContradiction {
readonly unpacked: boolean;
}
export const UNAVAILABLE_UNPACKED_LIMITATION =
const UNAVAILABLE_UNPACKED_LIMITATION =
"ASAR unpacked companion bytes were unavailable; no content hash or child artifact was produced.";
export const emptyScan = (): {
const emptyScan = (): {
readonly nodes: Map<string, ArtifactNode>;
readonly occurrences: MutableOccurrence[];
readonly pendingContradictions: PendingIntegrityContradiction[];
@@ -75,6 +75,8 @@ export const runControlledReplayValidated = async (
options.signal,
);
if (!prepared.ok) return prepared;
if (isAborted(options.signal))
return err(new AnalysisCancelledError(OPERATION));
if (input.mode === "plan")
return ok(