Skip to content

Sbastien/pronto-biome

Repository files navigation

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

About

Pronto runner for Biome linter

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages