Skip to content

Hi-Fi/projen-biome

Repository files navigation

Biome component for Projen NodeJS projects

Example usage

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

About

Biome component for Projen

Resources

License

Stars

Watchers

Forks

Packages

No packages published