Getting Started
Quick start
Section titled “Quick start”-
Run janitor from the root of your repository.
Terminal window janitor -
For local safety-first runs, explicitly disable commit creation.
Terminal window janitor --no-commit -
Scope to a single tool when needed.
Terminal window janitor --tool ruff
Commit behavior
Section titled “Commit behavior”Default behavior depends on platform detection:
- GitHub Actions and GitLab CI: auto-commit is enabled by default.
- Local terminal runs: auto-commit is disabled by default.
Override this behavior with flags:
--auto-commit: force auto-commit.--no-commit: force no commit.
--auto-commit and --no-commit cannot be used together.
Tool filter values
Section titled “Tool filter values”Current supported values for --tool:
ruffbiomeclippycargo-fmtrumdl
Common command patterns
Section titled “Common command patterns”# Default run (platform-aware commit behavior)janitor
# Local run with no commitjanitor --no-commit
# Force auto commit in local testingjanitor --auto-commit
# Run only Biomejanitor --tool biome