Expand description
Analysis result types: unused files, exports, dependencies, and members. Analysis result types for all issue categories.
Structs§
- Analysis
Results - Complete analysis results.
- Boundary
Violation - An import that crosses an architecture boundary rule.
- Circular
Dependency - A circular dependency chain detected in the module graph.
- Duplicate
Export - An export that appears multiple times across the project.
- Duplicate
Location - A location where a duplicate export appears.
- Empty
Catalog Group - A named
catalogs.<name>:group inpnpm-workspace.yamlwith no package entries. - Entry
Point Summary - Summary of detected entry points, grouped by discovery source.
- Export
Usage - Usage count for an export symbol. Used by the LSP Code Lens to show reference counts above each export declaration.
- Feature
Flag - A detected feature flag use site.
- Import
Site - A location where an import occurs.
- Misconfigured
Dependency Override - An override entry whose key or value is malformed. Default severity is
errorbecause pnpm refuses to install (or silently produces a no-op override) when it encounters these shapes. - Private
Type Leak - A public export signature that references a same-file private type.
- Reference
Location - A location where an export is referenced (import site in another file).
- Stale
Suppression - A suppression comment or JSDoc tag that no longer matches any issue.
- Test
Only Dependency - A production dependency that is only imported by test files. Since it is never used in production code, it could be moved to devDependencies.
- Type
Only Dependency - 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.
- Unlisted
Dependency - A dependency used in code but not listed in package.json.
- Unresolved
Catalog Reference - A workspace package.json reference (
catalog:orcatalog:<name>) that points at a catalog which does not declare the consumed package. - Unresolved
Import - An import that could not be resolved.
- Unused
Catalog Entry - A pnpm catalog entry declared in pnpm-workspace.yaml that no workspace package
references via the
catalog:protocol. - Unused
Dependency - A dependency that is listed in package.json but never imported.
- Unused
Dependency Override - An entry in pnpm’s
overrides:map (or the legacypnpm.overridesinpackage.json) whose target package is not declared in any workspacepackage.jsonand is not present inpnpm-lock.yaml. Projects without a readable lockfile fall back to package manifest checks; thehintfield flags that conservative mode. - Unused
Export - An export that is never imported by other modules.
- Unused
File - A file that is not reachable from any entry point.
- Unused
Member - An unused enum or class member.
Enums§
- Dependency
Location - Where in package.json a dependency is listed.
- Dependency
Override Misconfig Reason - Why a dependency-override entry is misconfigured.
pnpm installwould either fail at install time or silently no-op on these entries; surfacing them statically catches the issue before pnpm does. - Dependency
Override Source - 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 inignoreDependencyOverrides[].source. - Flag
Confidence - Detection confidence for a feature flag finding.
- Flag
Kind - The detection method used to identify a feature flag.
- Suppression
Origin - The origin of a stale suppression: inline comment or JSDoc tag.