Important
As Projen has had support for Biome since version 0.92.11, this separate component has became obsolete and repo has been archived.
This is left to be visible to be an example of how to create a projen component.
- in Projen configuration file (usually
.projenrc.tsor.projenrc.js) importBiomecomponent and create new instance of it:
import { cdk } from 'projen'
import { Biome } from "projen-biome";
const project = new cdk.JsiiProject({
defaultReleaseBranch: "main",
devDeps: ["projen-biome"],
eslint: false,
prettier: false,
name: "biome-example",
projenrcTs: true,
});
new Biome(project);
project.synth();- Run only linting with
npm run biome - Run full testing (including tests and linting/formatting) with
npm run test