Skip to main content

Module results

Module results 

Source

Structs§

AnalysisResults
Complete analysis results.
BoundaryViolation
An import that crosses an architecture boundary rule.
BoundaryViolationFinding
Wire-shape envelope for a BoundaryViolation finding. Mirrors UnusedFileFinding: flattens the bare finding and carries a typed actions array (refactor-boundary primary plus suppress-line secondary).
CircularDependency
A circular dependency chain detected in the module graph.
CircularDependencyFinding
Wire-shape envelope for a CircularDependency finding. Mirrors UnusedFileFinding: flattens the bare finding and carries a typed actions array (refactor-cycle primary plus suppress-line secondary).
DuplicateExport
An export that appears multiple times across the project.
DuplicateExportFinding
Wire-shape envelope for a DuplicateExport finding. Carries up to three actions in position-locked order: an add-to-config ignoreExports snippet (only when locations[] carries at least one path) followed by the remove-duplicate fix and the multi-location suppress.
DuplicateLocation
A location where a duplicate export appears.
EmptyCatalogGroup
A named catalogs.<name>: group in pnpm-workspace.yaml with no package entries.
EmptyCatalogGroupFinding
Wire-shape envelope for an EmptyCatalogGroup finding. Carries a straightforward remove-empty-catalog-group primary plus a YAML-comment suppress.
EntryPointSummary
Summary of detected entry points, grouped by discovery source.
ExportUsage
Usage count for an export symbol. Used by the LSP Code Lens to show reference counts above each export declaration.
ImportSite
A location where an import occurs.
MisconfiguredDependencyOverride
An override entry whose key or value is malformed. Default severity is error because pnpm refuses to install (or silently produces a no-op override) when it encounters these shapes.
MisconfiguredDependencyOverrideFinding
Wire-shape envelope for a MisconfiguredDependencyOverride finding. Carries a fix-dependency-override primary plus the conditional add-to-config ignoreDependencyOverrides suppress (skipped when both target_package and raw_key are empty, since the rule matcher keys on a non-empty package name).
PrivateTypeLeak
A public export signature that references a same-file private type.
PrivateTypeLeakFinding
Wire-shape envelope for a PrivateTypeLeak finding. Mirrors UnusedFileFinding: flattens the bare finding and carries a typed actions array (export-type primary plus suppress-line secondary).
ReExportCycle
A cycle or self-loop in the re-export edge subgraph.
ReExportCycleFinding
Wire-shape envelope for a ReExportCycle finding. Mirrors CircularDependencyFinding: flattens the bare finding and carries a typed actions array (refactor-re-export-cycle informational primary plus suppress-file secondary; cycles are file-scoped so a single file-level suppression on the alphabetically-first member breaks the cycle, and no // fallow-ignore-next-line form makes sense because the diagnostic is anchored at line 1 col 0 of each member).
ReferenceLocation
A location where an export is referenced (import site in another file).
StaleSuppression
A suppression comment or JSDoc tag that no longer matches any issue.
TestOnlyDependency
A production dependency that is only imported by test files. Since it is never used in production code, it could be moved to devDependencies.
TestOnlyDependencyFinding
Wire-shape envelope for a TestOnlyDependency finding. Carries a move-to-dev primary (different prose than TypeOnlyDependencyFinding) plus the standard ignoreDependencies config suppress.
TypeOnlyDependency
A production dependency that is only used via type-only imports. In production builds, type imports are erased, so this dependency is not needed at runtime and could be moved to devDependencies.
TypeOnlyDependencyFinding
Wire-shape envelope for a TypeOnlyDependency finding. Carries a move-to-dev primary plus the standard ignoreDependencies config suppress.
UnlistedDependency
A dependency used in code but not listed in package.json.
UnlistedDependencyFinding
Wire-shape envelope for an UnlistedDependency finding. Carries an install-dependency primary (non-auto-fixable) plus the standard ignoreDependencies config suppress.
UnresolvedCatalogReference
A workspace package.json reference (catalog: or catalog:<name>) that points at a catalog which does not declare the consumed package.
UnresolvedCatalogReferenceFinding
Wire-shape envelope for an UnresolvedCatalogReference finding. The primary action at position 0 discriminates on available_in_catalogs: add-catalog-entry when the array is empty (no other catalog declares the package), or update-catalog-reference when at least one alternative exists. When exactly one alternative exists, the action also carries suggested_target so deterministic agents can land the edit without picking from a list.
UnresolvedImport
An import that could not be resolved.
UnresolvedImportFinding
Wire-shape envelope for an UnresolvedImport finding. Mirrors UnusedFileFinding: flattens the bare finding and carries a typed actions array (resolve-import primary plus suppress-line secondary).
UnusedCatalogEntry
A pnpm catalog entry declared in pnpm-workspace.yaml that no workspace package references via the catalog: protocol.
UnusedCatalogEntryFinding
Wire-shape envelope for an UnusedCatalogEntry finding. Per-instance auto_fixable flips to false when hardcoded_consumers is non-empty: the entry cannot be removed safely while a workspace package still pins the same package via a hardcoded version range.
UnusedClassMemberFinding
Wire-shape envelope for an UnusedMember finding consumed under the unused_class_members key. Same Rust struct as UnusedEnumMemberFinding; the fix action and suppress comment carry the class-member kebab-case identifier instead.
UnusedDependency
A dependency that is listed in package.json but never imported.
UnusedDependencyFinding
Wire-shape envelope for an UnusedDependency finding consumed under the unused_dependencies key (production deps). Flattens the bare finding; the typed actions array carries either a remove-dependency or move-dependency primary depending on inner.used_in_workspaces.
UnusedDependencyOverride
An entry in pnpm’s overrides: map (or the legacy pnpm.overrides in package.json) whose target package is not declared in any workspace package.json and is not present in pnpm-lock.yaml. Projects without a readable lockfile fall back to package manifest checks; the hint field flags that conservative mode.
UnusedDependencyOverrideFinding
Wire-shape envelope for an UnusedDependencyOverride finding. Carries a remove-dependency-override primary plus an add-to-config ignoreDependencyOverrides suppress scoped to the target package and declaration source.
UnusedDevDependencyFinding
Wire-shape envelope for an UnusedDependency finding consumed under the unused_dev_dependencies key. Same bare struct as UnusedDependencyFinding; the fix description points at devDependencies and the suppress comment uses unused-dev-dependency.
UnusedEnumMemberFinding
Wire-shape envelope for an UnusedMember finding consumed under the unused_enum_members key.
UnusedExport
An export that is never imported by other modules.
UnusedExportFinding
Wire-shape envelope for an UnusedExport finding consumed under the unused_exports key. Same Rust struct as UnusedTypeFinding, with a different fix description so consumers can tell value-export from type-export removal at the action level.
UnusedFile
A file that is not reachable from any entry point.
UnusedFileFinding
Wire-shape envelope for an UnusedFile finding. The bare finding flattens in via #[serde(flatten)], with a typed actions array populated at construction time and the audit-pass introduced flag attached as an optional sibling.
UnusedMember
An unused enum or class member.
UnusedOptionalDependencyFinding
Wire-shape envelope for an UnusedDependency finding consumed under the unused_optional_dependencies key. Same bare struct as UnusedDependencyFinding; the fix description points at optionalDependencies. Reuses the unused-dependency suppress IssueKind because there is no dedicated variant for optional deps.
UnusedTypeFinding
Wire-shape envelope for an UnusedExport finding consumed under the unused_types key. Wraps the same bare UnusedExport struct as UnusedExportFinding but emits a fix action targeted at type-only declarations, with the same is_re_export-aware note swap.

Enums§

DependencyLocation
Where in package.json a dependency is listed.
DependencyOverrideMisconfigReason
Why a dependency-override entry is misconfigured. pnpm install would either fail at install time or silently no-op on these entries; surfacing them statically catches the issue before pnpm does.
DependencyOverrideSource
Where an override entry was declared. Serialized as the filename label ("pnpm-workspace.yaml" or "package.json") so the value in JSON output matches the value users write in ignoreDependencyOverrides[].source.
ReExportCycleKind
Discriminator for ReExportCycle: which structural shape was detected.
SuppressionOrigin
The origin of a stale suppression: inline comment or JSDoc tag.