Description
The biome:lint post-processor preset invokes biome lint --apply {{path}}. Biome removed --apply in v2.0 (renamed to --write), so this preset fails on any project using Biome 2.x.
Reproducible example or configuration
Suggested fix
Replace --apply with --write to match Biome 2.x. Optionally add a biome:check preset that runs biome check --write (combines lint + format in a single pass).
Workaround
Use a custom post-processor instead of the preset:
postProcess: [
{
command: "biome",
args: ["check", "--write", "--no-errors-on-unmatched", "{{path}}"],
name: "Biome (Check)",
},
],
Notes
This was previously failing silently; the error only became visible after #3683 (fix: surface output.postProcess execution errors) was merged.
OpenAPI specification (optional)
No response
System information (optional)
Version
@hey-api/openapi-ts: 0.96.1
@biomejs/biome: 2.4.12
Description
The
biome:lintpost-processor preset invokesbiome lint --apply {{path}}. Biome removed--applyin v2.0 (renamed to--write), so this preset fails on any project using Biome 2.x.Reproducible example or configuration
Suggested fix
Replace
--applywith--writeto match Biome 2.x. Optionally add abiome:checkpreset that runsbiome check --write(combines lint + format in a single pass).Workaround
Use a custom post-processor instead of the preset:
Notes
This was previously failing silently; the error only became visible after #3683 (
fix: surface output.postProcess execution errors) was merged.OpenAPI specification (optional)
No response
System information (optional)
Version
@hey-api/openapi-ts:0.96.1@biomejs/biome:2.4.12