Biome

Format code before it's added to your project using Biome.

The @jsrepo/transform-biome package is a transform plugin for jsrepo that formats code using your local biome configuration before it's added to your project using Biome.

This is especially useful when you are making use of the jsrepo update command as it will format the code the same way as it is in your project preventing any formatting changes from being shown in the diff.

Installation

To add the @jsrepo/transform-biome transform to your config run the following command:

jsrepo config transform biome

This will automatically install the transform and add it to your config:

import { defineConfig } from "jsrepo";
import biome from "@jsrepo/transform-biome"; 

export default defineConfig({
	transforms: [biome()], 
});

On this page