Skip to content

日本語

configs ​

Shared configuration and check packages published to npm.

Packages ​

PackageDescription
@yuu1111/biome-configShared Biome configuration
@yuu1111/knip-configShared Knip configuration
@yuu1111/quality-checkIntegrated CLI with the check engines built into it
@yuu1111/tsconfigShared TypeScript configurations

Shared configuration packages stay under packages/config/, while the integrated CLI lives directly in packages/quality-check/. Its four check engines live directly in quality-check/src/engines/{code,comment,markdown,tsdoc}/, with CLI, config, runner, engine contracts, and low-level utilities separated by responsibility, and are bundled without runtime dependencies. The built-in engines use the target-domain names code, comment, markdown, and tsdoc; rule IDs are unchanged.

Documents ​

DocumentPurpose
ArchitectureWhy the packages are layered and bundled the way they are
AdoptionInstalling the packages into a project, from config to CI
Engine contractThe contract the built-in engines and the integrated runner share
Engine referenceThe external and built-in engines
OxlintExternal lint engine and command-line integration
OxfmtRead-only format checks and file selection

Development ​

Bun workspace monorepo. Biome uses its own shared config, Oxlint adds lint checks, and Oxfmt formats YAML only to avoid conflicting with Biome.

bash
bun install            # install + link workspaces
bun run build          # bundle the check engines and their dependencies into @yuu1111/quality-check
bun run lint           # Biome + Oxlint
bun run format:check   # Biome + Oxfmt
bun run format         # auto-fix with Biome + Oxfmt

Release ​

Publishing runs through npm Trusted Publisher when a GitHub Release is published. Use a package-specific tag whose version matches the selected package.

bash
cd packages/config/biome-config
bun pm version patch --no-git-tag-version
# Commit and push the version change, then publish biome-config-vX.Y.Z on GitHub.

Name the tag after the package being released, for example biome-config-vX.Y.Z. Do not run npm publish locally.