0.0
A long-lived project that still receives updates
Pronto runner for Biome, reports only on lines changed in the diff
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

~> 0.11.0
 Project Readme

pronto-biome

Gem Version Downloads CI License

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/biome

Usage

pronto run -c origin/main --runner biome

Configuration

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/biome

Options

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's include/exclude options 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.

License

MIT License