mix foundry. lint. all
(foundry v0.1.2)
Copy Markdown
Runs the full Foundry lint suite against all compiled modules and the project
manifest. Emits a JSON report and exits non-zero if any :error severity
violations are found.
Usage
mix foundry.lint.all
mix foundry.lint.all --json
mix foundry.lint.all --format=text # human-readable summaryExit codes
0— no:errorviolations (warnings and info are non-blocking)1— one or more:errorviolations found2— lint runner itself failed (bug in a rule or runner crash)
CI integration
Add to your CI pipeline:
- run: mix foundry.lint.allThe lint report is emitted to stdout. CI systems can capture it for artefact upload. Violations are printed in a stable order (by file path, then rule ID) so diffs between CI runs are meaningful.
Violations
Violations are sorted: errors first, then warnings, then info. Within each severity, sorted by module name then rule_id.
JSON output shape
Matches Foundry.Lint.LintReport. The passed field is true iff
error_count == 0.