Skip to Content
Config

Biome

House lint and format preset, and the reusable bun CI workflow.

Usage

biome.json
{
  "$schema": "https://biomejs.dev/schemas/2.5.14/schema.json",
  "extends": ["@dapplelight/signet-config/biome"],
  "files": { "includes": ["**", "!**/dist"] }
}

Needs Biome 2. Your own settings win over the preset's: keep files, overrides and anything product-specific in your biome.json.

API

ExportWhat it does
@dapplelight/signet-config/biomeThe preset.
@dapplelight/signet-config/biome.jsonSame file, with the extension.

What the preset sets

SettingValue
Indent2 spaces
Line width100
Quotesdouble
SemicolonsasNeeded (none)
Organize importson
useHookAtTopLevelerror
useExhaustiveDependencieswarn
noExplicitAnywarn
CSSTailwind directives parsed
VCSuseIgnoreFile on, so the repo needs a .gitignore

The preset has "root": false for Signet's own repo. Biome does not inherit root through extends, so your config stays a root config.

Examples

Keep semicolons

biome.json
{
  "extends": ["@dapplelight/signet-config/biome"],
  "javascript": { "formatter": { "semicolons": "always" } }
}

ci-bun.yml

A reusable workflow_call workflow in the Signet repo: checkout, setup-bun, install, lint, typecheck, test, and an optional build. Signet is public, so any repo can call it. Pin @main, a tag, or a commit SHA.

.github/workflows/ci.yml
name: ci
on: [pull_request]
jobs:
  ci:
    uses: dapplelight/signet/.github/workflows/ci-bun.yml@main
    with:
      bun-version: 1.3.11
      build: true
      test: bun test
InputTypeDefault
working-directorystring.Where install and every command run.
bun-versionstringlatestPassed to oven-sh/setup-bun.
fetch-depthnumber10 for scripts that diff against the base branch.
runs-onstringubuntu-latest
installstringbun install --frozen-lockfile
lintstringbun run lintEmpty skips the step.
typecheckstringbun run typecheckEmpty skips the step.
teststringbun run testEmpty skips the step.
buildbooleanfalseRun build-command after the tests.
build-commandstringbun run build

Repo-specific jobs (e2e, integration tests, deploys) stay in your own workflow.