MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / printRuleCatalog

Function printRuleCatalog

apps/api/scripts/lint-meta/runner.ts:25–33  ·  view source on GitHub ↗
(rules: readonly IMetaRule[])

Source from the content-addressed store, hash-verified

23}
24
25export function printRuleCatalog(rules: readonly IMetaRule[]): void {
26 console.log("id\tcategory\tci-critical\tdescription");
27
28 for (const rule of rules) {
29 console.log(
30 `${rule.id}\t${rule.category}\t${rule.ciCritical === true ? "yes" : "no"}\t${rule.description}`
31 );
32 }
33}

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected