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

Function runMetaRules

apps/api/scripts/lint-meta/runner.ts:3–8  ·  view source on GitHub ↗
(
  rules: readonly IMetaRule[],
  ctx: IMetaContext
)

Source from the content-addressed store, hash-verified

1import type { IMetaContext, IMetaRule, IViolation } from "./types";
2
3export function runMetaRules(
4 rules: readonly IMetaRule[],
5 ctx: IMetaContext
6): IViolation[] {
7 return rules.flatMap((rule) => rule.run(ctx));
8}
9
10export async function runMetaRulesAsync(
11 rules: readonly IMetaRule[],

Callers 1

mainFunction · 0.90

Calls 1

runMethod · 0.80

Tested by

no test coverage detected