Formatting and linting

Updated Oct 09, 2026

make fmt and make check-fmt run mdtablefix (version 0.6.1, the same release CI installs); bun install does not provide it, so install it once with cargo install --locked mdtablefix --version 0.6.1. make fmt also runs markdownlint-cli2, which CI provides through its GitHub action; locally, install it with bun install -g markdownlint-cli2 so it is on PATH.

Run the standard gates before opening a pull request:

  • make check-fmt
  • make lint

When changes affect command/transport runtime seams or dependency baselines, run the full release gate set in this order:

  • bun install
  • make build
  • make check-fmt
  • make lint
  • make test

When documentation changes, also run:

  • bunx markdownlint-cli2 "docs/**/*.md"
  • nixie --no-sandbox