Severity levels
Most issue types default to
error when not configured. The exceptions are private-type-leaks, coverage-gaps, prop-drilling, thin-wrapper, duplicate-prop-shape, and require-suppression-reason (default off), plus stale-suppressions and policy-violation (default warn).
Configuration
Available rule names
circular-dependencies and circular-dependency are interchangeable. Both forms are accepted in rules, overrides[].rules, and inline directives, so the singular/plural slug doesn’t matter.Incremental adoption strategy
Incremental adoption strategy
Adopting fallow in an existing codebase works best gradually:
- Start permissive. Set all rules to
warnso you see issues without blocking CI. - Fix high-confidence rules first. Promote
unresolved-importsandunlisted-dependenciestoerror. These are almost never false positives. - Tackle unused files. Promote
unused-filestoerror. Unreachable files are safe to remove. - Address unused exports. Usually the largest category. Promote to
erroronce the count is manageable. - Enable remaining rules. Promote
unused-types,unused-enum-members, andunused-class-membersas you clean up each category. Enableprivate-type-leaksonly for packages where public API or declaration hygiene matters.
Use
--fail-on-issues in CI to temporarily treat all warnings as errors without changing the config file. Good for pre-merge gates on critical branches.Exit codes
See also
Configuration
Full config file reference with all available fields.
CI Integration
Set up fallow in GitHub Actions, GitLab CI, and more.