lintedIn

tcmts.cli.sync.lintedIn · #qtqrwvdv · term · runs anywhere

The definitions among a branch's names that lint findings are kept for (code, not files), by hash.

import type { NameRow } from "#codebase/tcmts/store";

export const lintedIn = (names: NameRow[]): string[] => [
  ...new Set(names.filter((n) => n.kind !== "file").map((n) => n.hash)),
]

uses

used by