Skip to main content
Biome can’t load ESLint plugins (its own plugins are written in GritQL), so it can’t run the Bijection rules by itself. Instead, keep using Biome for formatting and general linting, and run the Bijection rules on your bijection directory with Oxlint or ESLint.

With Oxlint

Oxlint is fast like Biome, and supports every Bijection rule.
Turn off Oxlint’s default rules so it doesn’t repeat what Biome already checks:
This turns on the recommended rules. To turn on another rule as well, spread them into rules and add it:
Then run both in your lint script:
A few rules work a bit differently without type information, see Differences from ESLint.

With ESLint

If you want every autofix, run ESLint with only the Bijection plugin, and only on your bijection directory, so it stays quick. Install ESLint, typescript-eslint and the plugin:
Use the eslint.config.js from Type-aware linting, then add ESLint to your lint script: