Skip to main content

Module results

Module results 

Source
Expand description

Analysis result types: unused files, exports, dependencies, and members. Analysis result types for all issue categories.

Structs§

AnalysisResults
Complete analysis results.
BoundaryViolation
An import that crosses an architecture boundary rule.
CircularDependency
A circular dependency chain detected in the module graph.
DuplicateExport
An export that appears multiple times across the project.
DuplicateLocation
A location where a duplicate export appears.
EmptyCatalogGroup
A named catalogs.<name>: group in pnpm-workspace.yaml with no package entries.
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.
FeatureFlag
A detected feature flag use site.
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.
PrivateTypeLeak
A public export signature that references a same-file private type.
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.
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.
UnlistedDependency
A dependency used in code but not listed in package.json.
UnresolvedCatalogReference
A workspace package.json reference (catalog: or catalog:<name>) that points at a catalog which does not declare the consumed package.
UnresolvedImport
An import that could not be resolved.
UnusedCatalogEntry
A pnpm catalog entry declared in pnpm-workspace.yaml that no workspace package references via the catalog: protocol.
UnusedDependency
A dependency that is listed in package.json but never imported.
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.
UnusedExport
An export that is never imported by other modules.
UnusedFile
A file that is not reachable from any entry point.
UnusedMember
An unused enum or class member.

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.
FlagConfidence
Detection confidence for a feature flag finding.
FlagKind
The detection method used to identify a feature flag.
SuppressionOrigin
The origin of a stale suppression: inline comment or JSDoc tag.