@vcollab/biome-config
v1.0.1
Published
Shared Biome lint + format config for @vcollab packages, with a pinned Biome version
Downloads
284
Readme
@vcollab/biome-config
Shared Biome lint + format config for @vcollab/*
packages, with a pinned Biome version.
Overview
One ruleset for the fleet: the recommended lint preset, formatter at 2-space
indent / 99 columns, import organization, and .gitignore-aware file scoping.
@biomejs/biome is a peer requirement pinned to one exact version. You
declare @biomejs/biome yourself — pnpm links only direct dependencies'
binaries, so a transitive copy wouldn't be runnable — and this package pins the
fleet version via the peer, so pnpm warns when your version drifts. That keeps
the schema/CLI aligned and formatting deterministic between local and CI.
Usage
pnpm add -D @vcollab/biome-config @biomejs/biomeInstall both — the config and the CLI it pins. biome.json:
{ "extends": ["@vcollab/biome-config/biome.json"] }Add repo-specific overrides alongside extends — e.g. ignoring a generated
file:
{
"extends": ["@vcollab/biome-config/biome.json"],
"files": { "includes": ["**", "!**/parser.js"] }
}