- in Projen configuration file (usually
.projenrc.ts
or.projenrc.js
) importBiome
component 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