What changes in production mode
$ fallow dead-code --production
Type-only dependency detection
In production mode, fallow detects dependencies that are only imported viaimport type:
devDependencies since types are erased at runtime and don’t need to be installed in production.
Per-analysis production mode
Combined mode (barefallow) and fallow audit can enable production mode per analysis instead of globally:
--production-health, --production-dead-code, or --production-dupes for one invocation, or FALLOW_PRODUCTION_HEALTH=true and the related env vars in CI. The global --production flag still enables production mode for every analysis.
Precedence (highest to lowest): CLI flags, per-analysis env var, global FALLOW_PRODUCTION, config. CLI flags only enable; env vars and config can also disable. Worked examples:
See also
CI Integration
Use production mode in your CI pipeline for lean, fast checks.
Rules & Severity
Control which issue types are errors, warnings, or disabled.