Closed alipqb closed 1 week ago
Why should it be removed? --write
is supported by biome check
. Maybe you're using an outdated version of Biome
I was getting this error:
error: --write is not expected in this context
But I don't have this problem with biome format
Yeah you're using an old version of Biome.
Unfortunately we don't support older versions at the moment, so you'd have to upgrade Biome to a version that implements --write
for the check command.
Or you'd need to use an older version of pre-commit
Thanks
The
--write
flag is currently used in the hook forbiome check
, but this flag is not supported forbiome check
and should be removed to prevent errors. click here