pronto-biome
Pronto runner for Biome. Reports lint errors only on the lines you changed — perfect for gradual adoption in legacy codebases.
Installation
Add to your Gemfile:
gem 'pronto-biome'Then install dependencies:
bundle install
npm install -D @biomejs/biome # or: pnpm add -D @biomejs/biomeUsage
pronto run -c origin/main --runner biomeConfiguration
Option 1: .pronto.yml (recommended)
biome:
biome_executable: npx biome
cmd_line_opts: '--config-path=custom-biome.json'Option 2: .pronto_biome.yml (takes priority)
biome_executable: ./node_modules/.bin/biomeOptions
| Option | Description | Default |
|---|---|---|
biome_executable |
Command to run Biome | biome |
cmd_line_opts |
Additional Biome CLI options | (none) |
Note: File filtering is handled by Biome's own configuration (
biome.json). Use Biome'sinclude/excludeoptions to control which files are linted.
Environment Variables
| Variable | Description |
|---|---|
BIOME_EXECUTABLE |
Override the Biome executable (useful for CI/CD) |
Requirements
| Dependency | Version |
|---|---|
| Ruby | >= 3.1 |
| Pronto | ~> 0.11.0 |
| Biome | Any version |
Contributing
Bug reports and pull requests are welcome on GitHub.