docs/solutions/workflow-issues/2026-05-08-benchmark-fixture-trees-need-scoped-biome-policy.md
Root pnpm lint:fix was applying the full Plate app lint profile to
benchmarks/editor/**, which is a mix of benchmark harness code,
cross-framework templates, generated-style fixture code, and static demo assets.
That made an unrelated docs/rules task look red.
pnpm lint:fix failed after an editor-test-harvester rules update.benchmarks/editor/**.benchmarks/editor/**. That would hide real correctness
issues in benchmark scripts.Add a scoped biome.jsonc override for benchmarks/editor/** that disables the
rules that are noise for benchmark fixtures and templates, while leaving real
JavaScript correctness rules active.
Then fix the remaining concrete script errors directly. In this case, after the
override only two Number.parseInt radix errors remained, so
benchmarks/editor/scripts/utils.js now passes an explicit radix:
errors: Number.parseInt(match[2], 10) || 0,
warnings: Number.parseInt(match[3], 10) || 0,
Verification:
pnpm lint:fix
The benchmark tree is not the same kind of source as packages, docs app code, or registry examples. It intentionally contains many framework styles and fixture patterns. A scoped override keeps the root closeout gate useful without forcing every benchmark fixture to mimic the main app style guide.
Keeping correctness rules active unless they are fixture-specific also avoids turning the override into a blanket lint bypass.