Skip to main content

Function: hasRequiredUpstream()

function hasRequiredUpstream(
context: TypedRuleContext,
requirement: UpstreamRequirement
): boolean;

Defined in: _internal/upstream-availability.ts:45

Resolve from the linted file, respecting project paths and package exports. A path alias or missing package cannot establish the upstream API contract.

Parametersโ€‹

contextโ€‹

TypedRuleContext

requirementโ€‹

UpstreamRequirement

Returnsโ€‹

boolean