Skip to main content

Crate fallow_config

Crate fallow_config 

Source

Structs§

AuditConfig
Per-analysis baseline paths for the audit command.
BoundaryConfig
Architecture boundary configuration.
BoundaryRule
An import rule between zones.
BoundaryZone
A named zone grouping files by directory pattern.
ConfigOverride
Per-file override entry.
DuplicatesConfig
Configuration for code duplication detection.
ExternalPluginDef
A declarative plugin definition loaded from a standalone file or inline config.
ExternalUsedExport
Exports considered used for files matching a pattern.
FallowConfig
User-facing configuration loaded from .fallowrc.json or fallow.toml.
FlagsConfig
Feature flag detection configuration.
HealthConfig
Configuration for complexity health metrics (fallow health).
IgnoreExportRule
Rule for ignoring specific exports.
IgnoreExportsUsedInFileByKind
Knip-compatible ignoreExportsUsedInFile object form.
NormalizationConfig
Fine-grained normalization overrides.
OwnershipConfig
Configuration for ownership analysis (fallow health --hotspots --ownership).
PackageJson
Parsed package.json with fields relevant to fallow.
PartialRulesConfig
Partial per-issue-type severity for overrides. All fields optional.
PerAnalysisProductionConfig
Per-analysis production-mode defaults.
RegressionBaseline
Per-type issue counts for regression comparison.
RegressionConfig
Regression baseline counts, embedded in the config file.
ResolveConfig
Module resolver configuration.
ResolvedBoundaryConfig
Resolved boundary config with pre-compiled glob matchers.
ResolvedBoundaryRule
A resolved boundary rule.
ResolvedConfig
Fully resolved configuration with all globs pre-compiled.
ResolvedNormalization
Resolved normalization flags: mode defaults merged with user overrides.
ResolvedOverride
Resolved override with pre-compiled glob matchers.
ResolvedZone
A zone with pre-compiled glob matchers.
RulesConfig
Per-issue-type severity configuration.
ScopedUsedClassMemberRule
A heritage-constrained usedClassMembers rule.
SdkPattern
A custom SDK call pattern for feature flag detection.
WorkspaceConfig
Workspace configuration for monorepo support.
WorkspaceDiagnostic
A diagnostic about workspace configuration issues.
WorkspaceInfo
Discovered workspace info from package.json, pnpm-workspace.yaml, or tsconfig.json references.

Enums§

BoundaryPreset
Built-in architecture presets.
DetectionMode
Detection mode controlling how aggressively tokens are normalized.
EmailMode
Privacy mode for author emails emitted in ownership output.
EntryPointRole
How a plugin’s discovered entry points contribute to coverage reachability.
IgnoreExportsUsedInFileConfig
Controls whether exports referenced only inside their defining file are reported as unused exports.
OutputFormat
Output format for results.
PluginDetection
How to detect if a plugin should be activated.
ProductionAnalysis
Analysis-specific production-mode selector.
ProductionConfig
Production-mode defaults.
Severity
Severity level for rules.
UsedClassMemberRule
A usedClassMembers entry from config or an external plugin.

Functions§

discover_external_plugins
Discover and load external plugin definitions for a project.
discover_workspaces
Discover all workspace packages in a monorepo.
find_undeclared_workspaces
Find directories containing package.json that are not declared as workspaces.
find_undeclared_workspaces_with_ignores
Find directories containing package.json that are not declared as workspaces, excluding candidates covered by the supplied ignore globset.
parse_tsconfig_root_dir
Parse tsconfig.json at the project root and extract compilerOptions.rootDir.