We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-commit autoupdate
There are two ways in which people use tools like biome:
A locally installed tool version (i.e. they manage the install environment themselves, e.g. using yarn or npm)
yarn
npm
Using pre-commit’s environment management to install the tool version
pre-commit
This variant is particularly useful for projects that don’t use a JS environment themselves, e.g. Python projects.
The second use case integrates nicely with pre-commit autoupdate if the repo has tags matching the tool version.
Other pre-commit mirror repos show how it’s done, and the pyproject.toml for this repo would look like this:
pyproject.toml
{ "name": "@biomejs/pre-commit", "description": "Biome pre-commit node package", "version": "1.8.3", "dependencies": {"@biomejs/biome": "1.8.3"} }
The two mentions of 1.8.3 would be updated by a workflow like in other mirror repos.
1.8.3
People who want to use a locally installed version of biome could use the instructions mentioned here: https://github.com/biomejs/pre-commit?tab=readme-ov-file#using-biome-with-a-local-pre-commit-hook
The text was updated successfully, but these errors were encountered:
PRs are welcome
Sorry, something went wrong.
No branches or pull requests
There are two ways in which people use tools like biome:
A locally installed tool version (i.e. they manage the install environment themselves, e.g. using
yarn
ornpm
)Using
pre-commit
’s environment management to install the tool versionThis variant is particularly useful for projects that don’t use a JS environment themselves, e.g. Python projects.
The second use case integrates nicely with
pre-commit autoupdate
if the repo has tags matching the tool version.Other pre-commit mirror repos show how it’s done, and the
pyproject.toml
for this repo would look like this:The two mentions of
1.8.3
would be updated by a workflow like in other mirror repos.People who want to use a locally installed version of biome could use the instructions mentioned here: https://github.com/biomejs/pre-commit?tab=readme-ov-file#using-biome-with-a-local-pre-commit-hook
The text was updated successfully, but these errors were encountered: